<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/base/regmap/regmap.c, branch v4.5</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v4.5</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v4.5'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2016-01-05T19:07:17Z</updated>
<entry>
<title>Merge remote-tracking branches 'regmap/topic/64bit' and 'regmap/topic/irq-type' into regmap-next</title>
<updated>2016-01-05T19:07:17Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2016-01-05T19:07:17Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=a8d99344c9ebc2f12232473f92beac2f894b6ea5'/>
<id>urn:sha1:a8d99344c9ebc2f12232473f92beac2f894b6ea5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regmap: use IS_ALIGNED instead of % to improve the performance</title>
<updated>2015-12-16T13:03:20Z</updated>
<author>
<name>Xiubo Li</name>
<email>lixiubo@cmss.chinamobile.com</email>
</author>
<published>2015-12-16T09:45:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fcac0233d89ddce72945f3e0afaf4680572d8525'/>
<id>urn:sha1:fcac0233d89ddce72945f3e0afaf4680572d8525</id>
<content type='text'>
The stride value should always equal to 2^n, so we can use bit
rotation instead of % to improve the performance.

Signed-off-by: Xiubo Li &lt;lixiubo@cmss.chinamobile.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: missing case statement</title>
<updated>2015-12-12T22:36:26Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2015-12-12T12:59:43Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=782035ea94dc4028c19e9f39857ce9756119ae94'/>
<id>urn:sha1:782035ea94dc4028c19e9f39857ce9756119ae94</id>
<content type='text'>
This new code is unreachable.  Presumably there was supposed to be a
case statement there similar to the earlier code.

Fixes: afcc00b91f18 ('regmap: add 64-bit mode support')
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: shift wrapping bugs in 64 bit code</title>
<updated>2015-12-12T22:36:26Z</updated>
<author>
<name>Dan Carpenter</name>
<email>dan.carpenter@oracle.com</email>
</author>
<published>2015-12-12T12:59:14Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=01c377bfe21a1050fd7cfd33699f7d8049dc2723'/>
<id>urn:sha1:01c377bfe21a1050fd7cfd33699f7d8049dc2723</id>
<content type='text'>
We should cast these to 64bit so that we don't truncate away the high
bits.

Fixes: afcc00b91f18 ('regmap: add 64-bit mode support')
Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: fix the warning about unused variable</title>
<updated>2015-12-09T15:11:03Z</updated>
<author>
<name>Xiubo Li</name>
<email>lixiubo@cmss.chinamobile.com</email>
</author>
<published>2015-12-09T09:11:53Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=19c04788f0e0ef778df39cdeaf8e9889d3020894'/>
<id>urn:sha1:19c04788f0e0ef778df39cdeaf8e9889d3020894</id>
<content type='text'>
The variable 'u64 *u64' should be only visible on 64-BIT platform.

Signed-off-by: Xiubo Li &lt;lixiubo@cmss.chinamobile.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: add 64-bit mode support</title>
<updated>2015-12-08T17:13:45Z</updated>
<author>
<name>Xiubo Li</name>
<email>lixiubo@cmss.chinamobile.com</email>
</author>
<published>2015-12-03T09:31:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=afcc00b91f1865f6d0bbdb687dd642ce8a3c3c9e'/>
<id>urn:sha1:afcc00b91f1865f6d0bbdb687dd642ce8a3c3c9e</id>
<content type='text'>
Since the mmio has support the 64-bit has been supported for the
64-bit platform, so should the regmap core too.

Signed-off-by: Xiubo Li &lt;lixiubo@cmss.chinamobile.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'regmap/topic/atomic', 'regmap/topic/debugfs' and 'regmap/topic/irq-hdr' into regmap-next</title>
<updated>2015-10-12T18:25:07Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2015-10-12T18:25:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d4a1a317e7478b70e18b9cc8eac7d29090121b6e'/>
<id>urn:sha1:d4a1a317e7478b70e18b9cc8eac7d29090121b6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>regmap: Allow installing custom reg_update_bits function</title>
<updated>2015-10-06T15:12:34Z</updated>
<author>
<name>Jon Ringle</name>
<email>jringle@gridpoint.com</email>
</author>
<published>2015-10-01T16:38:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=77792b11409c9270d98e604b4314b85ce886ac7d'/>
<id>urn:sha1:77792b11409c9270d98e604b4314b85ce886ac7d</id>
<content type='text'>
This commit allows installing a custom reg_update_bits function for cases where
the hardware provides a mechanism to set or clear register bits without a
read/modify/write cycle. Such is the case with the Microchip ENCX24J600.

If a custom reg_update_bits function is provided, it will only be used against
volatile registers.

Signed-off-by: Jon Ringle &lt;jringle@gridpoint.com&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>regmap: Allocate buffers with GFP_ATOMIC when fast_io == true</title>
<updated>2015-09-14T18:49:26Z</updated>
<author>
<name>Stephen Boyd</name>
<email>sboyd@codeaurora.org</email>
</author>
<published>2015-09-11T23:37:05Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b4a21fc275e99fc63c77b30da92ee497f8a7bdb6'/>
<id>urn:sha1:b4a21fc275e99fc63c77b30da92ee497f8a7bdb6</id>
<content type='text'>
If a regmap is using fast_io, allocate the scratch buffer in
regmap_bulk_write() with GFP_ATOMIC instead of GFP_KERNEL.
Otherwise we may schedule while atomic.

Reported-by: Abhijeet Dharmapurikar &lt;adharmap@codeaurora.org&gt;
Signed-off-by: Stephen Boyd &lt;sboyd@codeaurora.org&gt;
Signed-off-by: Mark Brown &lt;broonie@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge remote-tracking branches 'regmap/topic/lockdep' and 'regmap/topic/seq-delay' into regmap-next</title>
<updated>2015-09-04T16:22:10Z</updated>
<author>
<name>Mark Brown</name>
<email>broonie@kernel.org</email>
</author>
<published>2015-09-04T16:22:10Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=072502a67c9164625288cca17704808e6c06273f'/>
<id>urn:sha1:072502a67c9164625288cca17704808e6c06273f</id>
<content type='text'>
</content>
</entry>
</feed>
