<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/arch/arm, 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-03-11T20:35:54Z</updated>
<entry>
<title>Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc</title>
<updated>2016-03-11T20:35:54Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2016-03-11T20:35:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2a4fb270daa9c1f1d1b86a53d66ed86cc64ad232'/>
<id>urn:sha1:2a4fb270daa9c1f1d1b86a53d66ed86cc64ad232</id>
<content type='text'>
Pull ARM SoC fixes from Olof Johansson:
 "Two more fixes for 4.5:

   - One is a fix for OMAP that is urgently needed to avoid DRA7xx chips
     from premature aging, by always keeping the Ethernet clock enabled.

   - The other solves a I/O memory layout issue on Armada, where SROM
     and PCI memory windows were conflicting in some configurations"

* tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
  ARM: mvebu: fix overlap of Crypto SRAM with PCIe memory window
  ARM: dts: dra7: do not gate cpsw clock due to errata i877
  ARM: OMAP2+: hwmod: Introduce ti,no-idle dt property
</content>
</entry>
<entry>
<title>ARM: mvebu: fix overlap of Crypto SRAM with PCIe memory window</title>
<updated>2016-03-11T19:49:55Z</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2016-03-08T15:59:57Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d7d5a43c0d16760f25d892bf9329848167a8b8a4'/>
<id>urn:sha1:d7d5a43c0d16760f25d892bf9329848167a8b8a4</id>
<content type='text'>
When the Crypto SRAM mappings were added to the Device Tree files
describing the Armada XP boards in commit c466d997bb16 ("ARM: mvebu:
define crypto SRAM ranges for all armada-xp boards"), the fact that
those mappings were overlaping with the PCIe memory aperture was
overlooked. Due to this, we currently have for all Armada XP platforms
a situation that looks like this:

Memory mapping on Armada XP boards with internal registers at
0xf1000000:

 - 0x00000000 -&gt; 0xf0000000	3.75G 	RAM
 - 0xf0000000 -&gt; 0xf1000000	16M	NOR flashes (AXP GP / AXP DB)
 - 0xf1000000 -&gt; 0xf1100000	1M	internal registers
 - 0xf8000000 -&gt; 0xffe0000	126M	PCIe memory aperture
 - 0xf8100000 -&gt; 0xf8110000	64KB	Crypto SRAM #0	=&gt; OVERLAPS WITH PCIE !
 - 0xf8110000 -&gt; 0xf8120000	64KB	Crypto SRAM #1	=&gt; OVERLAPS WITH PCIE !
 - 0xffe00000 -&gt; 0xfff00000	1M	PCIe I/O aperture
 - 0xfff0000  -&gt; 0xffffffff	1M	BootROM

The overlap means that when PCIe devices are added, depending on their
memory window needs, they might or might not be mapped into the
physical address space. Indeed, they will not be mapped if the area
allocated in the PCIe memory aperture by the PCI core overlaps with
one of the Crypto SRAM. Typically, a Intel IGB PCIe NIC that needs 8MB
of PCIe memory will see its PCIe memory window allocated from
0xf80000000 for 8MB, which overlaps with the Crypto SRAM windows. Due
to this, the PCIe window is not created, and any attempt to access the
PCIe window makes the kernel explode:

[    3.302213] igb: Copyright (c) 2007-2014 Intel Corporation.
[    3.307841] pci 0000:00:09.0: enabling device (0140 -&gt; 0143)
[    3.313539] mvebu_mbus: cannot add window '4:f8', conflicts with another window
[    3.320870] mvebu-pcie soc:pcie-controller: Could not create MBus window at [mem 0xf8000000-0xf87fffff]: -22
[    3.330811] Unhandled fault: external abort on non-linefetch (0x1008) at 0xf08c0018

This problem does not occur on Armada 370 boards, because we use the
following memory mapping (for boards that have internal registers at
0xf1000000):

 - 0x00000000 -&gt; 0xf0000000	3.75G 	RAM
 - 0xf0000000 -&gt; 0xf1000000	16M	NOR flashes (AXP GP / AXP DB)
 - 0xf1000000 -&gt; 0xf1100000	1M	internal registers
 - 0xf1100000 -&gt; 0xf1110000	64KB	Crypto SRAM #0 =&gt; OK !
 - 0xf8000000 -&gt; 0xffe0000	126M	PCIe memory
 - 0xffe00000 -&gt; 0xfff00000	1M	PCIe I/O
 - 0xfff0000  -&gt; 0xffffffff	1M	BootROM

Obviously, the solution is to align the location of the Crypto SRAM
mappings of Armada XP to be similar with the ones on Armada 370, i.e
have them between the "internal registers" area and the beginning of
the PCIe aperture.

However, we have a special case with the OpenBlocks AX3-4 platform,
which has a 128 MB NOR flash. Currently, this NOR flash is mapped from
0xf0000000 to 0xf8000000. This is possible because on OpenBlocks
AX3-4, the internal registers are not at 0xf1000000. And this explains
why the Crypto SRAM mappings were not configured at the same place on
Armada XP.

Hence, the solution is two-fold:

 (1) Move the NOR flash mapping on Armada XP OpenBlocks AX3-4 from
     0xe8000000 to 0xf0000000. This frees the 0xf0000000 -&gt;
     0xf80000000 space.

 (2) Move the Crypto SRAM mappings on Armada XP to be similar to
     Armada 370 (except of course that Armada XP has two Crypto SRAM
     and not one).

After this patch, the memory mapping on Armada XP boards with
registers at 0xf1 is:

 - 0x00000000 -&gt; 0xf0000000	3.75G 	RAM
 - 0xf0000000 -&gt; 0xf1000000	16M	NOR flashes (AXP GP / AXP DB)
 - 0xf1000000 -&gt; 0xf1100000	1M	internal registers
 - 0xf1100000 -&gt; 0xf1110000	64KB	Crypto SRAM #0
 - 0xf1110000 -&gt; 0xf1120000	64KB	Crypto SRAM #1
 - 0xf8000000 -&gt; 0xffe0000	126M	PCIe memory
 - 0xffe00000 -&gt; 0xfff00000	1M	PCIe I/O
 - 0xfff0000  -&gt; 0xffffffff	1M	BootROM

And the memory mapping for the special case of the OpenBlocks AX3-4
(internal registers at 0xd0000000, NOR of 128 MB):

 - 0x00000000 -&gt; 0xc0000000	3G 	RAM
 - 0xd0000000 -&gt; 0xd1000000	1M	internal registers
 - 0xe800000  -&gt; 0xf0000000	128M	NOR flash
 - 0xf1100000 -&gt; 0xf1110000	64KB	Crypto SRAM #0
 - 0xf1110000 -&gt; 0xf1120000	64KB	Crypto SRAM #1
 - 0xf8000000 -&gt; 0xffe0000	126M	PCIe memory
 - 0xffe00000 -&gt; 0xfff00000	1M	PCIe I/O
 - 0xfff0000  -&gt; 0xffffffff	1M	BootROM

Fixes: c466d997bb16 ("ARM: mvebu: define crypto SRAM ranges for all armada-xp boards")
Reported-by: Phil Sutter &lt;phil@nwl.cc&gt;
Cc: Phil Sutter &lt;phil@nwl.cc&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
Acked-by: Gregory CLEMENT &lt;gregory.clement@free-electrons.com&gt;
Signed-off-by: Olof Johansson &lt;olof@lixom.net&gt;
</content>
</entry>
<entry>
<title>Merge tag 'for-v4.5-rc/omap-critical-fixes-a' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending into fixes</title>
<updated>2016-03-09T22:15:31Z</updated>
<author>
<name>Olof Johansson</name>
<email>olof@lixom.net</email>
</author>
<published>2016-03-09T22:15:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=1dea581f86f51563d5bf468abc36c74bc88f8aac'/>
<id>urn:sha1:1dea581f86f51563d5bf468abc36c74bc88f8aac</id>
<content type='text'>
ARM: OMAP2+: critical DRA7xx fix for v4.5-rc

Force the DRA7xx Ethernet internal clock source to stay enabled
per TI erratum i877:

http://www.ti.com/lit/er/sprz429h/sprz429h.pdf

Otherwise, if the Ethernet internal clock source is disabled, the
chip will age prematurely, and the RGMII I/O timing will soon
fail to meet the delay time and skew specifications for 1000Mbps
Ethernet.

This fix should go in as soon as possible.

Basic build, boot, and PM test results are available here:

http://www.pwsan.com/omap/testlogs/omap-critical-fixes-for-v4.5-rc/20160307014209/

* tag 'for-v4.5-rc/omap-critical-fixes-a' of git://git.kernel.org/pub/scm/linux/kernel/git/pjw/omap-pending:
  ARM: dts: dra7: do not gate cpsw clock due to errata i877
  ARM: OMAP2+: hwmod: Introduce ti,no-idle dt property

Signed-off-by: Olof Johansson &lt;olof@lixom.net&gt;
</content>
</entry>
<entry>
<title>ARM: dts: dra7: do not gate cpsw clock due to errata i877</title>
<updated>2016-03-07T08:41:22Z</updated>
<author>
<name>Mugunthan V N</name>
<email>mugunthanvnm@ti.com</email>
</author>
<published>2016-03-07T08:41:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=0f514e690740e54815441a87708c3326f8aa8709'/>
<id>urn:sha1:0f514e690740e54815441a87708c3326f8aa8709</id>
<content type='text'>
Errata id: i877

Description:
------------
The RGMII 1000 Mbps Transmit timing is based on the output clock
(rgmiin_txc) being driven relative to the rising edge of an internal
clock and the output control/data (rgmiin_txctl/txd) being driven relative
to the falling edge of an internal clock source. If the internal clock
source is allowed to be static low (i.e., disabled) for an extended period
of time then when the clock is actually enabled the timing delta between
the rising edge and falling edge can change over the lifetime of the
device. This can result in the device switching characteristics degrading
over time, and eventually failing to meet the Data Manual Delay Time/Skew
specs.
To maintain RGMII 1000 Mbps IO Timings, SW should minimize the
duration that the Ethernet internal clock source is disabled. Note that
the device reset state for the Ethernet clock is "disabled".
Other RGMII modes (10 Mbps, 100Mbps) are not affected

Workaround:
-----------
If the SoC Ethernet interface(s) are used in RGMII mode at 1000 Mbps,
SW should minimize the time the Ethernet internal clock source is disabled
to a maximum of 200 hours in a device life cycle. This is done by enabling
the clock as early as possible in IPL (QNX) or SPL/u-boot (Linux/Android)
by setting the register CM_GMAC_CLKSTCTRL[1:0]CLKTRCTRL = 0x2:SW_WKUP.

So, do not allow to gate the cpsw clocks using ti,no-idle property in
cpsw node assuming 1000 Mbps is being used all the time. If someone does
not need 1000 Mbps and wants to gate clocks to cpsw, this property needs
to be deleted in their respective board files.

Signed-off-by: Mugunthan V N &lt;mugunthanvnm@ti.com&gt;
Signed-off-by: Grygorii Strashko &lt;grygorii.strashko@ti.com&gt;
Signed-off-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Paul Walmsley &lt;paul@pwsan.com&gt;

</content>
</entry>
<entry>
<title>ARM: OMAP2+: hwmod: Introduce ti,no-idle dt property</title>
<updated>2016-03-07T08:41:21Z</updated>
<author>
<name>Lokesh Vutla</name>
<email>lokeshvutla@ti.com</email>
</author>
<published>2016-03-07T08:41:21Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=2e18f5a1bc18e8af7031b3b26efde25307014837'/>
<id>urn:sha1:2e18f5a1bc18e8af7031b3b26efde25307014837</id>
<content type='text'>
Introduce a dt property, ti,no-idle, that prevents an IP to idle at any
point. This is to handle Errata i877, which tells that GMAC clocks
cannot be disabled.

Acked-by: Roger Quadros &lt;rogerq@ti.com&gt;
Tested-by: Mugunthan V N &lt;mugunthanvnm@ti.com&gt;
Signed-off-by: Lokesh Vutla &lt;lokeshvutla@ti.com&gt;
Signed-off-by: Sekhar Nori &lt;nsekhar@ti.com&gt;
Signed-off-by: Dave Gerlach &lt;d-gerlach@ti.com&gt;
Acked-by: Rob Herring &lt;robh@kernel.org&gt;
Cc: &lt;stable@vger.kernel.org&gt;
Signed-off-by: Paul Walmsley &lt;paul@pwsan.com&gt;
</content>
</entry>
<entry>
<title>Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc</title>
<updated>2016-03-06T22:14:54Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2016-03-06T22:14:54Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=d55e08c8448def74ae4236cd6e1c3714d78f5abd'/>
<id>urn:sha1:d55e08c8448def74ae4236cd6e1c3714d78f5abd</id>
<content type='text'>
Pull ARM SoC fix from Olof Johansson:
 "Tiny fixes branch this week, in fact only one patch.

  Turns out the USB support for a Renesas board was developed on a
  pre-release board that ended up being changed before shipping.  To
  avoid breakage on those boards, and avoid confusion, it's a reasonable
  idea to patch now instead of later.  There are no known users of the
  pre-release variant any more"

* tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc:
  ARM: dts: porter: remove enable prop from HS-USB device node
</content>
</entry>
<entry>
<title>Merge branch 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm</title>
<updated>2016-03-06T21:51:27Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2016-03-06T21:51:27Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=dd273a8071124c2235c45d2ca756acc90ca31ed3'/>
<id>urn:sha1:dd273a8071124c2235c45d2ca756acc90ca31ed3</id>
<content type='text'>
Pull ARM fixes from Russell King:
 "Just two ARM fixes this time: one to fix the hyp-stub for older ARM
  CPUs, and another to fix the set_memory_xx() permission functions to
  deal with zero sizes correctly"

* 'fixes' of git://ftp.arm.linux.org.uk/~rmk/linux-arm:
  ARM: 8544/1: set_memory_xx fixes
  ARM: 8534/1: virt: fix hyp-stub build for pre-ARMv7 CPUs
</content>
</entry>
<entry>
<title>ARM: 8544/1: set_memory_xx fixes</title>
<updated>2016-03-04T23:32:45Z</updated>
<author>
<name>Mika Penttilä</name>
<email>mika.penttila@nextfour.com</email>
</author>
<published>2016-02-22T16:56:52Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f474c8c857d996f34c39f66bbed23faaa739fad6'/>
<id>urn:sha1:f474c8c857d996f34c39f66bbed23faaa739fad6</id>
<content type='text'>
Allow zero size updates. This makes set_memory_xx() consistent with x86, s390 and arm64 and makes apply_to_page_range() not to BUG() when loading modules.

Signed-off-by: Mika Penttilä mika.penttila@nextfour.com
Signed-off-by: Russell King &lt;rmk+kernel@arm.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm</title>
<updated>2016-03-03T19:54:56Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2016-03-03T19:54:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=c2687cf9502a4b69abc0f3a7b1618ffef47a40db'/>
<id>urn:sha1:c2687cf9502a4b69abc0f3a7b1618ffef47a40db</id>
<content type='text'>
Pull KVM fixes from Paolo Bonzini:
 - ARM/MIPS: Fixes for ioctls when copy_from_user returns nonzero
 - x86: Small fix for Skylake TSC scaling
 - x86: Improved fix for last week's missed hardware breakpoint bug

* tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
  kvm: x86: Update tsc multiplier on change.
  mips/kvm: fix ioctl error handling
  arm/arm64: KVM: Fix ioctl error handling
  KVM: x86: fix root cause for missed hardware breakpoints
</content>
</entry>
<entry>
<title>Merge tag 'renesas-dt-fixes2-for-v4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into fixes</title>
<updated>2016-03-02T22:24:33Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2016-03-02T22:24:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=f3c87e99f401a0ff0ef941346ec6e790f0fd526e'/>
<id>urn:sha1:f3c87e99f401a0ff0ef941346ec6e790f0fd526e</id>
<content type='text'>
Merge "Second Round of Renesas ARM Based SoC DT Fixes for v4.5" from Simon Horman:

* remove enable prop from HS-USB device node on porter board

* tag 'renesas-dt-fixes2-for-v4.5' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
  ARM: dts: porter: remove enable prop from HS-USB device node
</content>
</entry>
</feed>
