<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch, branch v3.10.4</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/arch?h=v3.10.4</id>
<link rel='self' href='https://git.amat.us/linux/atom/arch?h=v3.10.4'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-07-28T23:30:17Z</updated>
<entry>
<title>ARM: footbridge: fix overlapping PCI mappings</title>
<updated>2013-07-28T23:30:17Z</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2013-06-28T02:42:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=1b1eeeb02ec556c6a31a8383f86f1a7bf5419111'/>
<id>urn:sha1:1b1eeeb02ec556c6a31a8383f86f1a7bf5419111</id>
<content type='text'>
commit 6287e7319870ec949fb809e4eb4154c2b05b221f upstream.

Commit 8ef6e6201b26cb9fde79c1baa08145af6aca2815 (ARM: footbridge: use
fixed PCI i/o mapping) broke booting on my netwinder.  Before that,
everything boots fine.  Since then, it crashes on boot.

With earlyprintk, I see it BUG-ing like so:
kernel BUG at lib/ioremap.c:27!
Internal error: Oops - BUG: 0 [#1] ARM
...
[&lt;c0139b54&gt;] (ioremap_page_range+0x128/0x154) from [&lt;c02e6a6c&gt;] (dc21285_setup+0xd0/0x114)
[&lt;c02e6a6c&gt;] (dc21285_setup+0xd0/0x114) from [&lt;c02e4874&gt;] (pci_common_init+0xa0/0x298)
[&lt;c02e4874&gt;] (pci_common_init+0xa0/0x298) from [&lt;c02e793c&gt;] (netwinder_pci_init+0xc/0x18)
[&lt;c02e793c&gt;] (netwinder_pci_init+0xc/0x18) from [&lt;c02e27d0&gt;] (do_one_initcall+0xb4/0x180)
...

Russell points out it's because of overlapping PCI mappings that was
added with the aforementioned commit.  Rob thought the code would re-use
the static mapping, but that turns out to not be the case and instead
hits the BUG further down.

After deleting this hunk as suggested by Russel, the system boots up fine
again and all my PCI devices work (IDE, ethernet, the DC21285).

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
Acked-by: Rob Herring &lt;rob.herring@calxeda.com&gt;
Signed-off-by: Olof Johansson &lt;olof@lixom.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>ARM: S3C24XX: Add missing clkdev entries for s3c2440 UART</title>
<updated>2013-07-28T23:30:16Z</updated>
<author>
<name>Sylwester Nawrocki</name>
<email>sylvester.nawrocki@gmail.com</email>
</author>
<published>2013-07-24T04:23:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=ee2f769fb4a5a317b1558d0bbcccb89b8c2697a6'/>
<id>urn:sha1:ee2f769fb4a5a317b1558d0bbcccb89b8c2697a6</id>
<content type='text'>
commit d817468c4b2892b9468e2a0c92116e38a3a61370 upstream.

This patch restores serial port operation which has been broken since
commit 60e93575476f ("serial: samsung: enable clock before clearing
pending interrupts during init")

That commit only uncovered the real issue which was missing clkdev
entries for the "uart" clocks on S3C2440. It went unnoticed so far
because return value of clk API calls were not being checked at all
in the samsung serial port driver.

This patch should be backported to at least 3.10 stable kernel, since
the serial port has not been working on s3c2440 since 3.10-rc5.

Signed-off-by: Sylwester Nawrocki &lt;sylvester.nawrocki@gmail.com&gt;
Cc: Chander Kashyap &lt;chander.kashyap@linaro.org&gt;
[on S3C2440 SoC based Mini2440 board]
Tested-by: Sylwester Nawrocki &lt;sylvester.nawrocki@gmail.com&gt;
Reviewed-by: Tomasz Figa &lt;t.figa@samsung.com&gt;
Tested-by: Juergen Beisert &lt;jbe@pengutronix.de&gt;
Signed-off-by: Kukjin Kim &lt;kgene.kim@samsung.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>MIPS: Oceton: Fix build error.</title>
<updated>2013-07-28T23:30:07Z</updated>
<author>
<name>Ralf Baechle</name>
<email>ralf@linux-mips.org</email>
</author>
<published>2013-06-12T23:29:24Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=cf6a37e7da73702e865a02f03664fc0e2c4a2b3f'/>
<id>urn:sha1:cf6a37e7da73702e865a02f03664fc0e2c4a2b3f</id>
<content type='text'>
commit 39205750efa6d335fac4f9bcd32b49c7e71c12b7 upstream.

If CONFIG_CAVIUM_OCTEON_LOCK_L2_TLB, CONFIG_CAVIUM_OCTEON_LOCK_L2_EXCEPTION,
CONFIG_CAVIUM_OCTEON_LOCK_L2_LOW_LEVEL_INTERRUPT and
CONFIG_CAVIUM_OCTEON_LOCK_L2_INTERRUPT are all undefined:

arch/mips/cavium-octeon/setup.c: In function ‘prom_init’:
arch/mips/cavium-octeon/setup.c:715:12: error: unused variable ‘ebase’ [-Werror=unused-variable]

Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>sparc32: vm_area_struct access for old Sun SPARCs.</title>
<updated>2013-07-28T23:29:41Z</updated>
<author>
<name>Olivier DANET</name>
<email>odanet@caramail.com</email>
</author>
<published>2013-07-10T20:56:10Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b692b29868295c504e1e9c306762aa89ab3997a2'/>
<id>urn:sha1:b692b29868295c504e1e9c306762aa89ab3997a2</id>
<content type='text'>
upstream commit 961246b4ed8da3bcf4ee1eb9147f341013553e3c.

Commit e4c6bfd2d79d063017ab19a18915f0bc759f32d9 ("mm: rearrange
vm_area_struct for fewer cache misses") changed the layout of the
vm_area_struct structure, it broke several SPARC32 assembly routines
which used numerical constants for accessing the vm_mm field.

This patch defines the VMA_VM_MM constant to replace the immediate values.

Signed-off-by: Olivier DANET &lt;odanet@caramail.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>MIPS: Octeon: Don't clobber bootloader data structures.</title>
<updated>2013-07-25T21:07:42Z</updated>
<author>
<name>David Daney</name>
<email>david.daney@cavium.com</email>
</author>
<published>2013-06-12T17:28:33Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d6d10b1dceba6ed2b3d74207b2a454c2f4427785'/>
<id>urn:sha1:d6d10b1dceba6ed2b3d74207b2a454c2f4427785</id>
<content type='text'>
commit d949b4fe6d23dd92b5fa48cbf7af90ca32beed2e upstream.

Commit abe77f90dc (MIPS: Octeon: Add kexec and kdump support) added a
bootmem region for the kernel image itself.  The problem is that this
is rounded up to a 0x100000 boundary, which is memory that may not be
owned by the kernel.  Depending on the kernel's configuration based
size, this 'extra' memory may contain data passed from the bootloader
to the kernel itself, which if clobbered makes the kernel crash in
various ways.

The fix: Quit rounding the size up, so that we only use memory
assigned to the kernel.

Signed-off-by: David Daney &lt;david.daney@cavium.com&gt;
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5449/
Signed-off-by: Ralf Baechle &lt;ralf@linux-mips.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>xtensa: adjust boot parameters address when INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX is selected</title>
<updated>2013-07-25T21:07:42Z</updated>
<author>
<name>Max Filippov</name>
<email>jcmvbkbc@gmail.com</email>
</author>
<published>2013-06-09T00:52:11Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3ea8ad44cea35afc010942b448472fc993f24722'/>
<id>urn:sha1:3ea8ad44cea35afc010942b448472fc993f24722</id>
<content type='text'>
commit c5a771d0678f9613e9f89cf1a5bdcfa5b08b225b upstream.

The virtual address of boot parameters chain is passed to the kernel via
a2 register. Adjust it in case it is remapped during MMUv3 -&gt; MMUv2
mapping change, i.e. when it is in the first 128M.

Also fix interpretation of initrd and FDT addresses passed in the boot
parameters: these are physical addresses.

Reported-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Max Filippov &lt;jcmvbkbc@gmail.com&gt;
Signed-off-by: Chris Zankel &lt;chris@zankel.net&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>arm64: mm: don't treat user cache maintenance faults as writes</title>
<updated>2013-07-25T21:07:23Z</updated>
<author>
<name>Will Deacon</name>
<email>will.deacon@arm.com</email>
</author>
<published>2013-07-19T14:37:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=88c0a794e5d9bcc29926e636cd1d6eb5c9dcb235'/>
<id>urn:sha1:88c0a794e5d9bcc29926e636cd1d6eb5c9dcb235</id>
<content type='text'>
commit db6f41063cbdb58b14846e600e6bc3f4e4c2e888 upstream.

On arm64, cache maintenance faults appear as data aborts with the CM
bit set in the ESR. The WnR bit, usually used to distinguish between
faulting loads and stores, always reads as 1 and (slightly confusingly)
the instructions are treated as reads by the architecture.

This patch fixes our fault handling code to treat cache maintenance
faults in the same way as loads.

Signed-off-by: Will Deacon &lt;will.deacon@arm.com&gt;
Signed-off-by: Catalin Marinas &lt;catalin.marinas@arm.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>powerpc/perf: Don't enable if we have zero events</title>
<updated>2013-07-25T21:07:22Z</updated>
<author>
<name>Michael Ellerman</name>
<email>michael@ellerman.id.au</email>
</author>
<published>2013-06-28T08:15:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=382b9efb7be2d07e51f0a491ecd0a985e1ceb86e'/>
<id>urn:sha1:382b9efb7be2d07e51f0a491ecd0a985e1ceb86e</id>
<content type='text'>
commit 4ea355b5368bde0574c12430df53334c4be3bdcf upstream.

In power_pmu_enable() we still enable the PMU even if we have zero
events. This should have no effect but doesn't make much sense. Instead
just return after telling the hypervisor that we are not using the PMCs.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>powerpc/perf: Use existing out label in power_pmu_enable()</title>
<updated>2013-07-25T21:07:22Z</updated>
<author>
<name>Michael Ellerman</name>
<email>michael@ellerman.id.au</email>
</author>
<published>2013-06-28T08:15:13Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=b26eb91187fdfa37b304b30003f799899e6373c9'/>
<id>urn:sha1:b26eb91187fdfa37b304b30003f799899e6373c9</id>
<content type='text'>
commit 0a48843d6c5114cfa4a9540ee4d6af87628cec01 upstream.

In power_pmu_enable() we can use the existing out label to reduce the
number of return paths.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>powerpc/perf: Freeze PMC5/6 if we're not using them</title>
<updated>2013-07-25T21:07:22Z</updated>
<author>
<name>Michael Ellerman</name>
<email>michael@ellerman.id.au</email>
</author>
<published>2013-06-28T08:15:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8f6c5b6c1264c6cec9b04848d0744aac0853d641'/>
<id>urn:sha1:8f6c5b6c1264c6cec9b04848d0744aac0853d641</id>
<content type='text'>
commit 7a7a41f9d5b28ac3a916b057a7d3cd3f435ee9a6 upstream.

On Power8 we can freeze PMC5 and 6 if we're not using them. Normally they
run all the time.

As noticed by Anshuman, we should unfreeze them when we disable the PMU
as there are legacy tools which expect them to run all the time.

Signed-off-by: Michael Ellerman &lt;michael@ellerman.id.au&gt;
Signed-off-by: Benjamin Herrenschmidt &lt;benh@kernel.crashing.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
</feed>
