<feed xmlns='http://www.w3.org/2005/Atom'>
<title>user/sven/linux.git/drivers/dca, branch v6.3.3</title>
<subtitle>Linux Kernel
</subtitle>
<id>https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v6.3.3</id>
<link rel='self' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/atom?h=v6.3.3'/>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/'/>
<updated>2020-05-15T14:25:20Z</updated>
<entry>
<title>dca: Use PTR_ERR_OR_ZERO() to simplify code</title>
<updated>2020-05-15T14:25:20Z</updated>
<author>
<name>Tang Bin</name>
<email>tangbin@cmss.chinamobile.com</email>
</author>
<published>2020-05-07T11:12:24Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=0548745fa335a4665b039b9fd8e121339932c24b'/>
<id>urn:sha1:0548745fa335a4665b039b9fd8e121339932c24b</id>
<content type='text'>
The function PTR_ERR_OR_ZERO() contains the check of
IS_ERR() and the return of PTR_ERR() or zero.

Signed-off-by: Zhang Shengju &lt;zhangshengju@cmss.chinamobile.com&gt;
Signed-off-by: Tang Bin &lt;tangbin@cmss.chinamobile.com&gt;
Link: https://lore.kernel.org/r/20200507111224.4176-1-tangbin@cmss.chinamobile.com
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 33</title>
<updated>2019-05-24T15:27:11Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2019-05-20T17:07:58Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=e62d9491030613a29400f68f63f1b67c46cf2559'/>
<id>urn:sha1:e62d9491030613a29400f68f63f1b67c46cf2559</id>
<content type='text'>
Based on 1 normalized pattern(s):

  this program is free software you can redistribute it and or modify
  it under the terms of the gnu general public license as published by
  the free software foundation either version 2 of the license or at
  your option any later version this program is distributed in the
  hope that it will be useful but without any warranty without even
  the implied warranty of merchantability or fitness for a particular
  purpose see the gnu general public license for more details you
  should have received a copy of the gnu general public license along
  with this program if not write to the free software foundation inc
  59 temple place suite 330 boston ma 02111 1307 usa the full gnu
  general public license is included in this distribution in the file
  called copying

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-or-later

has been chosen to replace the boilerplate/reference in 7 file(s).

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Reviewed-by: Allison Randal &lt;allison@lohutok.net&gt;
Reviewed-by: Richard Fontana &lt;rfontana@redhat.com&gt;
Reviewed-by: Kate Stewart &lt;kstewart@linuxfoundation.org&gt;
Reviewed-by: Michael Ellerman &lt;mpe@ellerman.id.au&gt; (powerpc)
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190520170857.277062491@linutronix.de
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>treewide: Add SPDX license identifier - Makefile/Kconfig</title>
<updated>2019-05-21T08:50:46Z</updated>
<author>
<name>Thomas Gleixner</name>
<email>tglx@linutronix.de</email>
</author>
<published>2019-05-19T12:07:45Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1'/>
<id>urn:sha1:ec8f24b7faaf3d4799a7c3f4c1b87f6b02778ad1</id>
<content type='text'>
Add SPDX license identifiers to all Make/Kconfig files which:

 - Have no license information of any form

These files fall under the project license, GPL v2 only. The resulting SPDX
license identifier is:

  GPL-2.0-only

Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>dca: make function dca_common_get_tag static</title>
<updated>2018-04-24T01:02:41Z</updated>
<author>
<name>Colin Ian King</name>
<email>colin.king@canonical.com</email>
</author>
<published>2018-04-23T12:49:38Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=064223c1231ce508efaded6576ffdb07de9307b5'/>
<id>urn:sha1:064223c1231ce508efaded6576ffdb07de9307b5</id>
<content type='text'>
Function dca_common_get_tag is local to the source and does not need to be
in global scope, so make it static.

Cleans up sparse warning:
drivers/dca/dca-core.c:273:4: warning: symbol 'dca_common_get_tag' was
not declared. Should it be static?

Signed-off-by: Colin Ian King &lt;colin.king@canonical.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>dmaengine: ioatdma: constify dca_ops structures</title>
<updated>2015-11-16T03:57:32Z</updated>
<author>
<name>Julia Lawall</name>
<email>julia.lawall@lip6.fr</email>
</author>
<published>2015-11-13T11:46:00Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=2bb129ebb23d2dfec3cd9c22dc7defd681cfcd58'/>
<id>urn:sha1:2bb129ebb23d2dfec3cd9c22dc7defd681cfcd58</id>
<content type='text'>
The dca_ops structure is never modified, so declare it as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall &lt;Julia.Lawall@lip6.fr&gt;
Acked-by: Dan Williams &lt;dan.j.williams@intel.com&gt;
Signed-off-by: Vinod Koul &lt;vinod.koul@intel.com&gt;
</content>
</entry>
<entry>
<title>dca: convert to idr_alloc()</title>
<updated>2013-02-28T03:10:15Z</updated>
<author>
<name>Tejun Heo</name>
<email>tj@kernel.org</email>
</author>
<published>2013-02-28T01:04:02Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=615f2e5c531bc57d5a190f321d697988e950ae4d'/>
<id>urn:sha1:615f2e5c531bc57d5a190f321d697988e950ae4d</id>
<content type='text'>
Convert to the much saner new idr interface.

Signed-off-by: Tejun Heo &lt;tj@kernel.org&gt;
Cc: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Cc: Maciej Sosnowski &lt;maciej.sosnowski@intel.com&gt;
Cc: Shannon Nelson &lt;shannon.nelson@intel.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>dca: check against empty dca_domains list before unregister provider</title>
<updated>2013-01-08T06:05:14Z</updated>
<author>
<name>Maciej Sosnowski</name>
<email>maciej.sosnowski@intel.com</email>
</author>
<published>2012-05-23T15:27:07Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=c419fcfd071cf34ba00f9f65282583772d2655e7'/>
<id>urn:sha1:c419fcfd071cf34ba00f9f65282583772d2655e7</id>
<content type='text'>
When providers get blocked unregister_dca_providers() is called ending up
with dca_providers and dca_domain lists emptied. Dca should be prevented from
trying to unregister any provider if dca_domain list is found empty.

Cc: &lt;stable@vger.kernel.org&gt;
Reported-by: Jiang Liu &lt;jiang.liu@huawei.com&gt;
Tested-by: Gaohuai Han &lt;hangaohuai@huawei.com&gt;
Signed-off-by: Maciej Sosnowski &lt;maciej.sosnowski@intel.com&gt;
Signed-off-by: Dan Williams &lt;djbw@fb.com&gt;
</content>
</entry>
<entry>
<title>drivers/dca: Add export.h for THIS_MODULE to dca-sysfs.c</title>
<updated>2011-10-31T23:31:43Z</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2011-07-10T16:15:51Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=3382416d867d1c70709dfb03e4a81d5731d96787'/>
<id>urn:sha1:3382416d867d1c70709dfb03e4a81d5731d96787</id>
<content type='text'>
Ensure we have access to the THIS_MODLUE macro once we clean up
the implicit module.h usage.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>drivers/dca: Add module.h to dca-core.c</title>
<updated>2011-10-31T23:31:43Z</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2011-07-03T17:37:11Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=d229807f669ba3dea9f64467ee965051c4366aed'/>
<id>urn:sha1:d229807f669ba3dea9f64467ee965051c4366aed</id>
<content type='text'>
This file really needs the full module.h header file present, but
was just getting it implicitly before.  Call it out in advance so
that we don't get future build failures on this.

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
</content>
</entry>
<entry>
<title>locking, drivers/dca: Annotate dca_lock as raw</title>
<updated>2011-09-13T09:12:12Z</updated>
<author>
<name>Mike Galbraith</name>
<email>efault@gmx.de</email>
</author>
<published>2010-07-07T08:29:01Z</published>
<link rel='alternate' type='text/html' href='https://git.stealer.net/cgit.cgi/user/sven/linux.git/commit/?id=a1741e7fcbc19a67520115df480ab17012cc3d0b'/>
<id>urn:sha1:a1741e7fcbc19a67520115df480ab17012cc3d0b</id>
<content type='text'>
The dca_lock can be taken in atomic context:

[   25.607536] Call Trace:
[   25.607557]  [&lt;ffffffff820078a1&gt;] try_stack_unwind+0x151/0x1a0
[   25.607566]  [&lt;ffffffff820062c2&gt;] dump_trace+0x92/0x370
[   25.607573]  [&lt;ffffffff8200731c&gt;] show_trace_log_lvl+0x5c/0x80
[   25.607578]  [&lt;ffffffff82007355&gt;] show_trace+0x15/0x20
[   25.607587]  [&lt;ffffffff823f4588&gt;] dump_stack+0x77/0x8f
[   25.607595]  [&lt;ffffffff82043f2a&gt;] __might_sleep+0x11a/0x130
[   25.607602]  [&lt;ffffffff823f7b93&gt;] rt_spin_lock+0x83/0x90
[   25.607611]  [&lt;ffffffffa0209138&gt;] dca_common_get_tag+0x28/0x80 [dca]
[   25.607622]  [&lt;ffffffffa02091c8&gt;] dca3_get_tag+0x18/0x20 [dca]
[   25.607634]  [&lt;ffffffffa0244e71&gt;] igb_update_dca+0xb1/0x1d0 [igb]
[   25.607649]  [&lt;ffffffffa0244ff5&gt;] igb_setup_dca+0x65/0x80 [igb]
[   25.607663]  [&lt;ffffffffa02535a6&gt;] igb_probe+0x946/0xe4d [igb]
[   25.607678]  [&lt;ffffffff82247517&gt;] local_pci_probe+0x17/0x20
[   25.607686]  [&lt;ffffffff82248661&gt;] pci_device_probe+0x121/0x130
[   25.607699]  [&lt;ffffffff822e4832&gt;] driver_probe_device+0xd2/0x2e0
[   25.607707]  [&lt;ffffffff822e4adb&gt;] __driver_attach+0x9b/0xa0
[   25.607714]  [&lt;ffffffff822e3d1b&gt;] bus_for_each_dev+0x6b/0xa0
[   25.607720]  [&lt;ffffffff822e4591&gt;] driver_attach+0x21/0x30
[   25.607727]  [&lt;ffffffff822e3425&gt;] bus_add_driver+0x1e5/0x350
[   25.607734]  [&lt;ffffffff822e4e41&gt;] driver_register+0x81/0x160
[   25.607742]  [&lt;ffffffff8224890f&gt;] __pci_register_driver+0x6f/0xf0
[   25.607752]  [&lt;ffffffffa011505b&gt;] igb_init_module+0x5b/0x5d [igb]
[   25.607769]  [&lt;ffffffff820001dd&gt;] do_one_initcall+0x3d/0x1a0
[   25.607778]  [&lt;ffffffff820961f6&gt;] sys_init_module+0xe6/0x270
[   25.607786]  [&lt;ffffffff82003232&gt;] system_call_fastpath+0x16/0x1b
[   25.607794]  [&lt;00007f84d6783f4a&gt;] 0x7f84d6783f4a

and thus must not be preempted on -rt.

In mainline this change documents the low level nature of
the lock - otherwise there's no functional difference. Lockdep
and Sparse checking will work as usual.

Signed-off-by: Mike Galbraith &lt;efault@gmx.de&gt;
[ Fixed the domain allocation which was calling kzalloc from the irq disabled section ]
Signed-off-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Ingo Molnar &lt;mingo@elte.hu&gt;
</content>
</entry>
</feed>
