<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-linux/drivers/media/pci/intel, branch jd/orphan-parallel</title>
<subtitle>WireGuard for the Linux kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-linux/atom/drivers/media/pci/intel?h=jd%2Forphan-parallel</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-linux/atom/drivers/media/pci/intel?h=jd%2Forphan-parallel'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/'/>
<updated>2020-09-10T12:20:15Z</updated>
<entry>
<title>media: ipu3-cio2: Update Copyright year and fix indentation issues</title>
<updated>2020-09-10T12:20:15Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2020-08-17T16:07:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=30f573a85c30fa03041958ade07aac0f73aa869a'/>
<id>urn:sha1:30f573a85c30fa03041958ade07aac0f73aa869a</id>
<content type='text'>
Update Copyright year to cover the previous changes and at the same time
address indentation issues.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: ipu3-cio2: Drop useless assignments</title>
<updated>2020-09-10T12:19:47Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2020-08-17T16:07:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=39fec547f1112727789d4234f29731596739ef68'/>
<id>urn:sha1:39fec547f1112727789d4234f29731596739ef68</id>
<content type='text'>
There are assignments inside the functions which are useless.
Drop them for good.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: ipu3-cio2: Drop bogus check and error message</title>
<updated>2020-09-10T12:19:24Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2020-08-17T16:07:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=c12841388e161843ec38f4a460226f66c40f04ae'/>
<id>urn:sha1:c12841388e161843ec38f4a460226f66c40f04ae</id>
<content type='text'>
pcim_iomap_table() won't fail if previous pcim_iomap_regions() hasn't.
Since we check pcim_iomap_regions() for failure the check close to
pcim_iomap_table() is bogus and not needed.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: ipu3-cio2: Get rid of pci_set_master() duplication</title>
<updated>2020-09-10T12:19:02Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2020-08-17T16:07:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=34a07e65bae27abb620a78b6728777678365a6fb'/>
<id>urn:sha1:34a07e65bae27abb620a78b6728777678365a6fb</id>
<content type='text'>
It's unclear why driver repeats the code from PCI core.
Drop it for good.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: ipu3-cio2: Use readl_poll_timeout() helper</title>
<updated>2020-09-10T12:18:35Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2020-08-17T16:07:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=44677b03caa3363da6f2810a83da367e55f026d9'/>
<id>urn:sha1:44677b03caa3363da6f2810a83da367e55f026d9</id>
<content type='text'>
We may use special helper macro to poll IO till condition or timeout
occurs.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: ipu3-cio2: Replace infinite loop by one with clear exit condition</title>
<updated>2020-09-10T12:13:30Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2020-08-17T16:07:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=a553c9013619c2d936bc7b1c3d283ebcccbf62c3'/>
<id>urn:sha1:a553c9013619c2d936bc7b1c3d283ebcccbf62c3</id>
<content type='text'>
Refactor cio2_buffer_done() to get rid of infinite loop by replacing it by
one with clear exit condition. This change also allows to check for an
error ahead.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: ipu3-cio2: Use macros from pfn.h</title>
<updated>2020-09-10T12:12:56Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2020-08-17T16:07:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=9a262c7a7fd3543ba1bd2537e58c83dfb3d7d3aa'/>
<id>urn:sha1:9a262c7a7fd3543ba1bd2537e58c83dfb3d7d3aa</id>
<content type='text'>
There are few nice macros in pfn.h, some of which we may use here.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: ipu2-cio2: Replace custom definition with PAGE_SIZE</title>
<updated>2020-09-10T12:12:14Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2020-08-17T16:07:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=e186f932472f302a67a92ea2cc6edc59702c1e82'/>
<id>urn:sha1:e186f932472f302a67a92ea2cc6edc59702c1e82</id>
<content type='text'>
It's quite unlikely that another page size will be supported,
but in any case there is still an inconsistency between custom
page size definition and generic macros used in the driver.

Switch over to the generic PAGE_SIZE for sake of the consistency.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: ipu3-cio2: Introduce CIO2_LOP_ENTRIES constant</title>
<updated>2020-09-10T12:11:37Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2020-08-17T16:07:25Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=7b285f41f7376dc37e7fad1e803995fd39f42848'/>
<id>urn:sha1:7b285f41f7376dc37e7fad1e803995fd39f42848</id>
<content type='text'>
This constant is used in several places in the code, define it
for better maintenance.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
<entry>
<title>media: ipu3-cio2: Simplify cleanup code</title>
<updated>2020-09-10T12:10:27Z</updated>
<author>
<name>Andy Shevchenko</name>
<email>andriy.shevchenko@linux.intel.com</email>
</author>
<published>2020-08-17T16:07:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-linux/commit/?id=bbacb2740343ed6041c4e20fdc1996cc2c4917fb'/>
<id>urn:sha1:bbacb2740343ed6041c4e20fdc1996cc2c4917fb</id>
<content type='text'>
The code looks more nicer if we use:
	while (i--)
instead:
	for (i = i - 1; i &gt;= 0; i--)

This would also allow making 'i' unsigned again.

Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Signed-off-by: Sakari Ailus &lt;sakari.ailus@linux.intel.com&gt;
Signed-off-by: Mauro Carvalho Chehab &lt;mchehab+huawei@kernel.org&gt;
</content>
</entry>
</feed>
