<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/arch/x86/kernel/pmc_atom.c, branch linux-3.18.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.18.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2015-03-06T22:53:06Z</updated>
<entry>
<title>x86: pmc-atom: Assign debugfs node as soon as possible</title>
<updated>2015-03-06T22:53:06Z</updated>
<author>
<name>Andy Shevchenko</name>
</author>
<published>2015-01-14T16:39:31Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=25dd360c3c839e28b29d438f58257af0cafe44df'/>
<id>urn:sha1:25dd360c3c839e28b29d438f58257af0cafe44df</id>
<content type='text'>
commit 1b43d7125f3b6f7d46e72da64f65f3187a83b66b upstream.

pmc_dbgfs_unregister() will be called when pmc-&gt;dbgfs_dir is unconditionally
NULL on error path in pmc_dbgfs_register(). To prevent this we move the
assignment to where is should be.

Fixes: f855911c1f48 (x86/pmc_atom: Expose PMC device state and platform sleep state)
Reported-by: Thomas Gleixner &lt;tglx@linutronix.de&gt;
Signed-off-by: Andy Shevchenko &lt;andriy.shevchenko@linux.intel.com&gt;
Cc: Aubrey Li &lt;aubrey.li@linux.intel.com&gt;
Cc: Rafael J. Wysocki &lt;rafael.j.wysocki@intel.com&gt;
Cc: Kumar P. Mahesh &lt;mahesh.kumar.p@intel.com&gt;
Link: http://lkml.kernel.org/r/1421253575-22509-2-git-send-email-andriy.shevchenko@linux.intel.com
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>x86/platform/pmc_atom: Fix warning when CONFIG_DEBUG_FS=n</title>
<updated>2014-09-19T11:02:21Z</updated>
<author>
<name>Martin Kelly</name>
</author>
<published>2014-09-17T14:17:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9575a6a23a8081bc4c9d47d001621e2af0957c02'/>
<id>urn:sha1:9575a6a23a8081bc4c9d47d001621e2af0957c02</id>
<content type='text'>
When compiling with CONFIG_DEBUG_FS=n, GCC emits an unused
variable warning for pmc_atom.c because "ret" is used only
within the CONFIG_DEBUG_FS block.

This patch adds a dummy #ifdef for pmc_dbgfs_register() when
CONFIG_DEBUG_FS=n to simplify the code and remove the warning.

Signed-off-by: Martin Kelly &lt;martkell@amazon.com&gt;
Acked-by: "Li, Aubrey" &lt;aubrey.li@linux.intel.com&gt;
Cc: vishwesh.m.rudramuni@intel.com
Link: http://lkml.kernel.org/r/1410963476-8360-1-git-send-email-martin@martingkelly.com
Signed-off-by: Ingo Molnar &lt;mingo@kernel.org&gt;
</content>
</entry>
<entry>
<title>x86/pmc_atom: Silence shift wrapping warnings in pmc_sleep_tmr_show()</title>
<updated>2014-08-02T23:52:17Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2014-08-01T08:27:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4c51cb005b29e6329d7e598bf835689b230817c9'/>
<id>urn:sha1:4c51cb005b29e6329d7e598bf835689b230817c9</id>
<content type='text'>
I don't know if we really need 64 bits here but these variables are
declared as u64 and it can't hurt to cast this so we prevent any shift
wrapping.

Signed-off-by: Dan Carpenter &lt;dan.carpenter@oracle.com&gt;
Acked-by: Aubrey Li &lt;aubrey.li@linux.intel.com&gt;
Link: http://lkml.kernel.org/r/20140801082715.GE28869@mwanda
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
</entry>
<entry>
<title>x86/pmc_atom: Expose PMC device state and platform sleep state</title>
<updated>2014-07-25T21:12:14Z</updated>
<author>
<name>Li, Aubrey</name>
</author>
<published>2014-06-30T06:10:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f855911c1f481734191615a7438a396f52a915dc'/>
<id>urn:sha1:f855911c1f481734191615a7438a396f52a915dc</id>
<content type='text'>
Add the following interfaces to exposes PMC device state and sleep
state residency via debugfs:
	/sys/kernel/debugfs/pmc_atom/dev_state
	/sys/kernel/debugfs/pmc_atom/sleep_state

Signed-off-by: Aubrey Li &lt;aubrey.li@linux.intel.com&gt;
Link: http://lkml.kernel.org/r/53B0FF59.8000600@linux.intel.com
Signed-off-by: Kasagar, Srinidhi &lt;srinidhi.kasagar@intel.com&gt;
Reviewed-by: Rudramuni, Vishwesh M &lt;vishwesh.m.rudramuni@intel.com&gt;
Reviewed-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>x86/pmc_atom: Eisable a few S0ix wake up events for S0ix residency</title>
<updated>2014-07-25T21:11:58Z</updated>
<author>
<name>Li, Aubrey</name>
</author>
<published>2014-06-30T06:09:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b00055cade45379fb6a51798b70ef520d7555c5f'/>
<id>urn:sha1:b00055cade45379fb6a51798b70ef520d7555c5f</id>
<content type='text'>
Disable PMC S0IX_WAKE_EN events coming from LPC block(unused) and
also from GPIO_SUS ored dedicated IRQs (must be disabled as per PMC
programming rule), GPIOSCORE ored dedicated IRQs (must be disabled
as per PMC programming rule), GPIO_SUS shared IRQ (not necessary
since the IOAPIC_DS wake event will still work), GPIO_SCORE shared
IRQ (not necessary since the IOAPIC_DS wake event will still work).

Signed-off-by: Aubrey Li &lt;aubrey.li@linux.intel.com&gt;
Link: http://lkml.kernel.org/r/53B0FF22.5080403@linux.intel.com
Signed-off-by: Olivier Leveque &lt;olivier.leveque@intel.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
</entry>
<entry>
<title>x86/platform: New Intel Atom SOC power management controller driver</title>
<updated>2014-07-25T21:11:29Z</updated>
<author>
<name>Li, Aubrey</name>
</author>
<published>2014-06-30T06:08:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=93e5eadd1f6e7f45c31aa327c42ac52e4df5ff6f'/>
<id>urn:sha1:93e5eadd1f6e7f45c31aa327c42ac52e4df5ff6f</id>
<content type='text'>
The Power Management Controller (PMC) controls many of the power
management features present in the Atom SoC. This driver provides
a native power off function via PMC PCI IO port.

On some ACPI hardware-reduced platforms(e.g. ASUS-T100), ACPI sleep
registers are not valid so that (*pm_power_off)() is not hooked by
acpi_power_off(). The power off function in this driver is installed
only when pm_power_off is NULL.

Signed-off-by: Aubrey Li &lt;aubrey.li@linux.intel.com&gt;
Link: http://lkml.kernel.org/r/53B0FEEA.3010805@linux.intel.com
Signed-off-by: Lejun Zhu &lt;lejun.zhu@linux.intel.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
</entry>
</feed>
