<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux-toradex.git/drivers/firewire/config-rom-generator-test.c, branch master</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>firewire: core: fix type of hard-coded image in config ROM generator test</title>
<updated>2026-09-08T12:29:00+00:00</updated>
<author>
<name>Takashi Sakamoto</name>
<email>o-takashi@sakamocchi.jp</email>
</author>
<published>2026-09-08T12:29:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=b0ae21b88ae4fd68c197d5ee3b6676162bebb61e'/>
<id>b0ae21b88ae4fd68c197d5ee3b6676162bebb61e</id>
<content type='text'>
The type of the hard-coded configuration ROM image should be __be32
instead of u32.

Fixes: bea8f9df4254 ("firewire: core: add test for root directory generation in config ROM generator")
Fixes: c0c5987f4bdd ("firewire: core: add test to generate with AV/C unit in config ROM generator")
Fixes: 49e4d0eea6cd ("firewire: core: add test to generate with IIDC unit in config ROM generator")
Fixes: 56db07175f9f ("firewire: core: add test to generate with both AV/C and IIDC units in config ROM generator")
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Closes: https://lore.kernel.org/oe-kbuild-all/202609060630.rC0Zz88P-lkp@intel.com/
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Closes: https://lore.kernel.org/oe-kbuild-all/202609061023.GbWS6Skb-lkp@intel.com/
Link: https://lore.kernel.org/r/20260908122900.2886661-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The type of the hard-coded configuration ROM image should be __be32
instead of u32.

Fixes: bea8f9df4254 ("firewire: core: add test for root directory generation in config ROM generator")
Fixes: c0c5987f4bdd ("firewire: core: add test to generate with AV/C unit in config ROM generator")
Fixes: 49e4d0eea6cd ("firewire: core: add test to generate with IIDC unit in config ROM generator")
Fixes: 56db07175f9f ("firewire: core: add test to generate with both AV/C and IIDC units in config ROM generator")
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Closes: https://lore.kernel.org/oe-kbuild-all/202609060630.rC0Zz88P-lkp@intel.com/
Reported-by: kernel test robot &lt;lkp@intel.com&gt;
Closes: https://lore.kernel.org/oe-kbuild-all/202609061023.GbWS6Skb-lkp@intel.com/
Link: https://lore.kernel.org/r/20260908122900.2886661-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>firewire: core: add test for beyond-boundary case in config ROM generator</title>
<updated>2026-09-01T13:45:34+00:00</updated>
<author>
<name>Takashi Sakamoto</name>
<email>o-takashi@sakamocchi.jp</email>
</author>
<published>2026-09-01T13:45:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=6899ac01c6ae398daf2acbf78f7a2dd86e3c0af5'/>
<id>6899ac01c6ae398daf2acbf78f7a2dd86e3c0af5</id>
<content type='text'>
Although unit drivers and userspace applications are allowed to extend
the system configuration ROM, they could provide invalid extension data.

Add a KUnit test to verify that the generator does not write beyond the
boundary of the configuration ROM when handling an extension.

Link: https://lore.kernel.org/r/20260901134534.2386577-14-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although unit drivers and userspace applications are allowed to extend
the system configuration ROM, they could provide invalid extension data.

Add a KUnit test to verify that the generator does not write beyond the
boundary of the configuration ROM when handling an extension.

Link: https://lore.kernel.org/r/20260901134534.2386577-14-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>firewire: core: add invalid block test for config ROM generator</title>
<updated>2026-09-01T13:45:33+00:00</updated>
<author>
<name>Takashi Sakamoto</name>
<email>o-takashi@sakamocchi.jp</email>
</author>
<published>2026-09-01T13:45:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=eb077c3503777828617b056229b45815e695b3f8'/>
<id>eb077c3503777828617b056229b45815e695b3f8</id>
<content type='text'>
Although the unit drivers and the userspace applications are allowed to
extend the system configuration ROM, they could provide invalid extension
data.

Add a KUnit test to verify that the generator handles an invalid block.

Link: https://lore.kernel.org/r/20260901134534.2386577-13-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although the unit drivers and the userspace applications are allowed to
extend the system configuration ROM, they could provide invalid extension
data.

Add a KUnit test to verify that the generator handles an invalid block.

Link: https://lore.kernel.org/r/20260901134534.2386577-13-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>firewire: core: add test for invalid length in config ROM generator</title>
<updated>2026-09-01T13:45:32+00:00</updated>
<author>
<name>Takashi Sakamoto</name>
<email>o-takashi@sakamocchi.jp</email>
</author>
<published>2026-09-01T13:45:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=0eefccd9cce8a98abf8260b44d5cd299980a9a35'/>
<id>0eefccd9cce8a98abf8260b44d5cd299980a9a35</id>
<content type='text'>
Although the unit drivers and the userspace applications are allowed to
extend the system configuration ROM, they could provide invalid extension
data.

Add a KUnit test to verify that the generator handles an extension with
an invalid length.

Link: https://lore.kernel.org/r/20260901134534.2386577-12-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Although the unit drivers and the userspace applications are allowed to
extend the system configuration ROM, they could provide invalid extension
data.

Add a KUnit test to verify that the generator handles an extension with
an invalid length.

Link: https://lore.kernel.org/r/20260901134534.2386577-12-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>firewire: core: add test to generate with both AV/C and IIDC units in config ROM generator</title>
<updated>2026-09-01T13:45:31+00:00</updated>
<author>
<name>Takashi Sakamoto</name>
<email>o-takashi@sakamocchi.jp</email>
</author>
<published>2026-09-01T13:45:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=56db07175f9f8ee4dcbebf12ab17aa73ae30c264'/>
<id>56db07175f9f8ee4dcbebf12ab17aa73ae30c264</id>
<content type='text'>
Add a KUnit test to verify that the generator produces the expected
configuration ROM when both AV/C and IIDC units are registered.

Link: https://lore.kernel.org/r/20260901134534.2386577-11-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a KUnit test to verify that the generator produces the expected
configuration ROM when both AV/C and IIDC units are registered.

Link: https://lore.kernel.org/r/20260901134534.2386577-11-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>firewire: core: add test to generate with IIDC unit in config ROM generator</title>
<updated>2026-09-01T13:45:30+00:00</updated>
<author>
<name>Takashi Sakamoto</name>
<email>o-takashi@sakamocchi.jp</email>
</author>
<published>2026-09-01T13:45:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=49e4d0eea6cd0f3c615223af0a3b04fd55db5655'/>
<id>49e4d0eea6cd0f3c615223af0a3b04fd55db5655</id>
<content type='text'>
There is a standard layout of configuration ROM for IIDC devices.

Add a KUnit test to verify that the generator produces the expected
configuration ROM when an IIDC unit is registered.

Link: https://lore.kernel.org/r/20260901134534.2386577-10-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is a standard layout of configuration ROM for IIDC devices.

Add a KUnit test to verify that the generator produces the expected
configuration ROM when an IIDC unit is registered.

Link: https://lore.kernel.org/r/20260901134534.2386577-10-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>firewire: core: add test to generate with AV/C unit in config ROM generator</title>
<updated>2026-09-01T13:45:29+00:00</updated>
<author>
<name>Takashi Sakamoto</name>
<email>o-takashi@sakamocchi.jp</email>
</author>
<published>2026-09-01T13:45:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=c0c5987f4bddd2b54ac56286d1f33307805710dd'/>
<id>c0c5987f4bddd2b54ac56286d1f33307805710dd</id>
<content type='text'>
There is a standard layout of configuration ROM for AV/C devices.

Add a KUnit test to verify that the generator produces the expected
configuration ROM when an AV/C unit is registered.

Link: https://lore.kernel.org/r/20260901134534.2386577-9-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is a standard layout of configuration ROM for AV/C devices.

Add a KUnit test to verify that the generator produces the expected
configuration ROM when an AV/C unit is registered.

Link: https://lore.kernel.org/r/20260901134534.2386577-9-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>firewire: core: add test for root directory generation in config ROM generator</title>
<updated>2026-09-01T13:45:28+00:00</updated>
<author>
<name>Takashi Sakamoto</name>
<email>o-takashi@sakamocchi.jp</email>
</author>
<published>2026-09-01T13:45:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=bea8f9df4254ef4a254d663dc7229367c0fd4b46'/>
<id>bea8f9df4254ef4a254d663dc7229367c0fd4b46</id>
<content type='text'>
The core function allows both the unit drivers and the userspace
applications to extend the system configuration ROM. Without any
extensions, the generator produces a root directory accompanied by two
descriptor leaves.

Add a KUnit test to verify the configuration ROM generated in this case.

Link: https://lore.kernel.org/r/20260901134534.2386577-8-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The core function allows both the unit drivers and the userspace
applications to extend the system configuration ROM. Without any
extensions, the generator produces a root directory accompanied by two
descriptor leaves.

Add a KUnit test to verify the configuration ROM generated in this case.

Link: https://lore.kernel.org/r/20260901134534.2386577-8-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>firewire: core: add KUnit test skeleton for config ROM parser and generator</title>
<updated>2026-09-01T13:45:22+00:00</updated>
<author>
<name>Takashi Sakamoto</name>
<email>o-takashi@sakamocchi.jp</email>
</author>
<published>2026-09-01T13:45:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.toradex.cn/cgit/linux-toradex.git/commit/?id=428ef9ca38545ccab8dc5c38b0fa62b02090e66d'/>
<id>428ef9ca38545ccab8dc5c38b0fa62b02090e66d</id>
<content type='text'>
In IEEE 1394, all devices on the bus are required to provide structured
data in response to requests to a specific range of their address space.
This structured data is called configuration ROM and is defined in
IEEE 1212.

The core function of this subsystem contains the generator and parser for
the configuration ROM. The generator constructs the configuration ROM for
the local host node, while the parser interprets the configuration ROM of
detected nodes.

Both the generator and parser are fundamental to identifying the node
capabilities. Add KUnit test skeletons for testing their implementations.

Link: https://lore.kernel.org/r/20260901134534.2386577-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In IEEE 1394, all devices on the bus are required to provide structured
data in response to requests to a specific range of their address space.
This structured data is called configuration ROM and is defined in
IEEE 1212.

The core function of this subsystem contains the generator and parser for
the configuration ROM. The generator constructs the configuration ROM for
the local host node, while the parser interprets the configuration ROM of
detected nodes.

Both the generator and parser are fundamental to identifying the node
capabilities. Add KUnit test skeletons for testing their implementations.

Link: https://lore.kernel.org/r/20260901134534.2386577-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto &lt;o-takashi@sakamocchi.jp&gt;
</pre>
</div>
</content>
</entry>
</feed>
