<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/powerpc, branch v3.7</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch/powerpc?h=v3.7</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch/powerpc?h=v3.7'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-11-25T22:14:16Z</updated>
<entry>
<title>powerpc/eeh: Do not invalidate PE properly</title>
<updated>2012-11-25T22:14:16Z</updated>
<author>
<name>Gavin Shan</name>
<email>shangw@linux.vnet.ibm.com</email>
</author>
<published>2012-11-22T21:58:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e716e014384688d1a50d1aa5213ee74748c6d4e0'/>
<id>urn:sha1:e716e014384688d1a50d1aa5213ee74748c6d4e0</id>
<content type='text'>
While the EEH does recovery on the specific PE that has PCI errors,
the PCI devices belonging to the PE will be removed and the PE will
be marked as invalid since we still need the information stored in
the PE. We only invalidate the PE when it doesn't have associated
EEH devices and valid child PEs. However, the code used to check
that is wrong. The patch fixes that.

Signed-off-by: Gavin Shan &lt;shangw@linux.vnet.ibm.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/pseries: Fix oops with MSIs when missing EEH PEs</title>
<updated>2012-11-23T02:26:05Z</updated>
<author>
<name>Alexey Kardashevskiy</name>
<email>aik@ozlabs.ru</email>
</author>
<published>2012-11-23T02:25:39Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bb4618823a3389086f157fafb2a0d97cade8d89f'/>
<id>urn:sha1:bb4618823a3389086f157fafb2a0d97cade8d89f</id>
<content type='text'>
The new EEH code introduced a small regression, if the EEH PEs
are missin (which happens currently in qemu for example), it
will deref a NULL pointer in the MSI code.

Signed-off-by: Alexey Kardashevskiy &lt;aik@ozlabs.ru&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc/mpc5200: move lpbfifo node and fix its interrupt property</title>
<updated>2012-10-25T20:05:47Z</updated>
<author>
<name>Anatolij Gustschin</name>
<email>agust@denx.de</email>
</author>
<published>2012-10-05T10:23:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=7dfb736ec9917883fc9cfe6d0081987b8b110afe'/>
<id>urn:sha1:7dfb736ec9917883fc9cfe6d0081987b8b110afe</id>
<content type='text'>
The LPB FIFO interrupt is a peripheral interrupt, thus its L1 cell
has to be 2 instead of 3. Fix it and while at it, move the lpbfifo
node to the common dtsi file.

This patch fixes the irqdomain warning:
 ...
 WARNING: at kernel/irq/irqdomain.c:766
 Modules linked in:
 NIP: c00587fc LR: c0058e0c CTR: c0014e54
 REGS: c7837c10 TRAP: 0700   Tainted: G        W     (3.7.0-rc1-00003-g6e51414)
 MSR: 00029032 &lt;EE,ME,IR,DR,RI&gt;  CR: 82cd8322  XER: 00000000
 TASK = c7834000[1] 'swapper' THREAD: c7836000
 GPR00: 00000001 c7837cc0 c7834000 c7806080 000000d7 c7837d20 00000003 c7837cec
 GPR08: c7837ce8 00000000 00000000 00000008 82cd3342 00000000 c0003f88 00000000
 GPR16: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c7850ec0
 GPR24: c782b010 00000000 00000001 c7852900 00000003 c7df5be0 c7806080 000000d7
 NIP [c00587fc] irq_linear_revmap+0x2c/0x4c
 LR [c0058e0c] irq_create_mapping+0x28/0x124

Reported-by: Stefan Roese &lt;sr@denx.de&gt;
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
</entry>
<entry>
<title>powerpc: 52xx: nop out unsupported critical IRQs</title>
<updated>2012-10-25T20:05:32Z</updated>
<author>
<name>Wolfram Sang</name>
<email>w.sang@pengutronix.de</email>
</author>
<published>2012-10-10T23:19:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=e34298c9a29a4b5bdcbb9a8994cc61f6ba506a94'/>
<id>urn:sha1:e34298c9a29a4b5bdcbb9a8994cc61f6ba506a94</id>
<content type='text'>
Currently, when booting MPC52xx based platforms, we get:

        mpc52xx_irqhost_map: invalid irq: virq=16, l1=0, l2=3
        irq: irq-16==&gt;hwirq-0x3 mapping failed: -22
        [WARNing skipped]

The warning is wrong since the mapping itself is valid. However, there is no
support for that type of IRQ currently. Print a proper warning and bind the irq
to a no_irq chip.

Signed-off-by: Wolfram Sang &lt;w.sang@pengutronix.de&gt;
Cc: John Bonesio &lt;bones@secretlab.ca&gt;
Cc: Anatolij Gustschin &lt;agust@denx.de&gt;
Cc: Grant Likely &lt;grant.likely@secretlab.ca&gt;
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
</entry>
<entry>
<title>powerpc/pcm030: add pcm030-audio-fabric to dts</title>
<updated>2012-10-25T20:04:51Z</updated>
<author>
<name>Eric Millbrandt</name>
<email>emillbrandt@dekaresearch.com</email>
</author>
<published>2012-09-24T12:16:47Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f4221a7a63abd1b6e358d19fe4d05e4d2e44e11a'/>
<id>urn:sha1:f4221a7a63abd1b6e358d19fe4d05e4d2e44e11a</id>
<content type='text'>
Add a node for the pcm030-audio-fabric ASoC driver

Signed-off-by: Eric Millbrandt &lt;emillbrandt@dekaresearch.com&gt;
Signed-off-by: Anatolij Gustschin &lt;agust@denx.de&gt;
</content>
</entry>
<entry>
<title>cpuidle/powerpc: Fix snooze state problem in the cpuidle design on pseries.</title>
<updated>2012-10-17T23:57:25Z</updated>
<author>
<name>Deepthi Dharwar</name>
<email>deepthi@linux.vnet.ibm.com</email>
</author>
<published>2012-10-03T18:42:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=83dac59409387789b88bed40b1be86a8abc572be'/>
<id>urn:sha1:83dac59409387789b88bed40b1be86a8abc572be</id>
<content type='text'>
Earlier without cpuidle framework on pseries, the native arch
idle routine comprised of both snooze and nap
states.  smt_snooze_delay variable was used to delay
the idle process entry to deeper idle state like  nap.
With the coming of cpuidle, this arch specific idle was replaced
by two different idle routines, one for supporting snooze and other
for nap. This enabled addition of more
low level idle states on pseries in the future.

On adopting the generic cpuidle framework for POWER systems,
the decision of which idle state to choose from,  given a predicted
idle time is taken by the menu governor based on
target_residency and  exit_latency of the idle states.
target_residency is the minimum time to be resident in that idle state.
Exit_latency is time taken to exit out of idle state.
Deeper the idle state, both the target residency and exit latency
would be higher.

In the current design, smt_snooze_delay is used as target_residency
for the  snooze state which is incorrect, as it is not the
minimum but the maximum duration to be in snooze state.
This would  result in the governor in taking bad decision,
as presently target_residency of nap &lt; target_residency of snooze
inspite of nap being deeper idle state.

This patch aims to fix this problem by replacing the smt_snooze_delay loop
in snooze state, with the need_resched()  as the governor is aware of
entry and exit of various idle transitions based on which
next idle time prediction.

The governor is intelligent enough to determine the idle state the needs to
be transitioned to and maintains a whole of heuristics including
io load, previous idle states predictions etc for the same, based on
which idle state entry decision is taken.

With this fix, of setting target_residency of snooze to 0
					     nap to smt_snooze_delay
if the predicted idle time is less
than smt_snooze_delay (target_residency of nap)
value governor would pick snooze state, else nap. This adhers to the
previous native idle design.

Signed-off-by: Deepthi Dharwar &lt;deepthi@linux.vnet.ibm.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>cpuidle/powerpc: Fix smt_snooze_delay functionality.</title>
<updated>2012-10-17T23:57:24Z</updated>
<author>
<name>Deepthi Dharwar</name>
<email>deepthi@linux.vnet.ibm.com</email>
</author>
<published>2012-10-03T18:42:18Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8ea959a17fe6e27f7954dddad5b17b0e33f0d7ee'/>
<id>urn:sha1:8ea959a17fe6e27f7954dddad5b17b0e33f0d7ee</id>
<content type='text'>
smt_snooze_delay was designed to  delay idle loop's nap entry
in the native idle code before it got  ported over to use as part of
the cpuidle framework.

A -ve value  assigned to smt_snooze_delay should result in
busy looping, in other words disabling the entry to nap state.

	- https://lists.ozlabs.org/pipermail/linuxppc-dev/2010-May/082450.html

This particular functionality can be achieved currently by
echo 1 &gt; /sys/devices/system/cpu/cpu*/state1/disable
but it is broken when one assigns -ve value to  the smt_snooze_delay
variable either via sysfs entry or ppc64_cpu util.

This patch aims to fix this, by disabling nap state when smt_snooze_delay
variable is set to -ve value.

Signed-off-by: Deepthi Dharwar &lt;deepthi@linux.vnet.ibm.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>cpuidle/powerpc: Fix target residency initialisation in pseries cpuidle</title>
<updated>2012-10-17T23:57:24Z</updated>
<author>
<name>Deepthi Dharwar</name>
<email>deepthi@linux.vnet.ibm.com</email>
</author>
<published>2012-10-03T18:42:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=817deb05df45577d4037230f2facee486c11d9df'/>
<id>urn:sha1:817deb05df45577d4037230f2facee486c11d9df</id>
<content type='text'>
Remove the redundant target residency initialisation in pseries_cpuidle_driver_init().
This is currently over-writing the residency time updated as part of the static
table, resulting in  all the idle states having the same target
residency of 100us which is incorrect. This may result in the menu governor making
wrong state decisions.

Signed-off-by: Deepthi Dharwar &lt;deepthi@linux.vnet.ibm.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>powerpc: Build fix for powerpc KVM</title>
<updated>2012-10-17T23:37:52Z</updated>
<author>
<name>Aneesh Kumar K.V</name>
<email>aneesh.kumar@linux.vnet.ibm.com</email>
</author>
<published>2012-10-16T22:25:45Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ce236ab576a2d76b1d6eb268221e74f05ed48d8b'/>
<id>urn:sha1:ce236ab576a2d76b1d6eb268221e74f05ed48d8b</id>
<content type='text'>
Fix build failure for powerpc KVM by adding missing VPN_SHIFT definition
and the ';'

arch/powerpc/kvm/book3s_32_mmu_host.c: In function 'kvmppc_mmu_map_page':
arch/powerpc/kvm/book3s_32_mmu_host.c:176: error: 'VPN_SHIFT' undeclared (first use in this function)
arch/powerpc/kvm/book3s_32_mmu_host.c:176: error: (Each undeclared identifier is reported only once
arch/powerpc/kvm/book3s_32_mmu_host.c:176: error: for each function it appears in.)
arch/powerpc/kvm/book3s_32_mmu_host.c:178: error: expected ';' before 'next_pteg'
arch/powerpc/kvm/book3s_32_mmu_host.c:190: error: label 'next_pteg' used but not defined
make[1]: *** [arch/powerpc/kvm/book3s_32_mmu_host.o] Error 1

Signed-off-by: Aneesh Kumar K.V &lt;aneesh.kumar@linux.vnet.ibm.com&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
</content>
</entry>
<entry>
<title>Revert "powerpc/perf: Use pmc_overflow() to detect rolled back events"</title>
<updated>2012-10-17T23:36:11Z</updated>
<author>
<name>Benjamin Herrenschmidt</name>
<email>benh@kernel.crashing.org</email>
</author>
<published>2012-10-17T23:36:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=72523d8082df3d89bffe30cbc1356dbb45ab51ae'/>
<id>urn:sha1:72523d8082df3d89bffe30cbc1356dbb45ab51ae</id>
<content type='text'>
This reverts commit 813312110bede27bffd082c25cd31730bd567beb.

This revert was requested by the author of the patch as it seems
to cause system hangs with some low frequency events
</content>
</entry>
</feed>
