<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/target/linux, branch v19.07.4</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v19.07.4</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v19.07.4'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2020-09-06T15:11:34Z</updated>
<entry>
<title>ramips: ethernet: fix to interrupt handling</title>
<updated>2020-09-06T15:11:34Z</updated>
<author>
<name>NeilBrown</name>
</author>
<published>2019-10-29T17:23:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=7ac454014a11347887323a131415ac7032d53546'/>
<id>urn:sha1:7ac454014a11347887323a131415ac7032d53546</id>
<content type='text'>
The current code acknowledged interrupts *after* polling.
This is the wrong way around, and could cause an interrupt to
be missed.
This is not likely to be fatal as another packet, and so another
interrupt, should come along soon.  But maybe it is causing
problems, so let's fix it anyway.

Signed-off-by: NeilBrown &lt;neil@brown.name&gt;
(Note that this matches the upstream driver.)
Signed-off-by: Rosen Penev &lt;rosenp@gmail.com&gt;
</content>
</entry>
<entry>
<title>oxnas: reduce size of ATA DMA descriptor space</title>
<updated>2020-08-29T00:17:26Z</updated>
<author>
<name>Daniel Golle</name>
</author>
<published>2020-08-10T22:33:00Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=5a1e4a7fdb2d732a485afb7cdcfc359e15ac259e'/>
<id>urn:sha1:5a1e4a7fdb2d732a485afb7cdcfc359e15ac259e</id>
<content type='text'>
After years of trying to find the reason for random kernel crashes
while both CPU and SATA are under load it has been found.
Some odd commented-out #defines in kref's single-port driver [1] which
were copied from the vendor driver made me develop a theory:
The IO-mapped memory area for DMA descriptors apparetly got some holes
just before the alignment boundaries.
This feels like an off-by-one bug in the hardware or maybe those fields
are used internally by the SATA controller's firmware.
Whatever the cause is: they cannot be used and trying to use them
results in reading back unexpected stuff and ends up with oopsing
Unable to handle kernel paging request at virtual address d085c004

Work around the issue by reducing the area used for bmdma descriptors.
This reduces SATA performance (iops) quite a bit, but finally makes
things work reliably. Possibly one could optimize this much more by
really just skipping the holes in that memory area -- however, that
seems to be non-trivial with the driver and libata in it's current form
(suggestions are welcome).
The 'proper' way to have good SATA performance would be to make use of
the hardware RAID features (one can use the JBOD mode to access even
just a single disc transparently through the RAID controller integrated
in the SATA host instead of accessing the SATA ports 'raw' as we do
now).

[1]: https://github.com/kref/linux-oxnas/blob/master/drivers/ata/sata_oxnas.c#L25

Signed-off-by: Daniel Golle &lt;daniel@makrotopia.org&gt;
(cherry picked from commit 5793112f751ee3d9f841af4846d68e6b1ff1bff4,
including fixup commit d75e75306301852a848824cf268d8b58eda28a8a)
</content>
</entry>
<entry>
<title>kernel: Update kernel 4.14 to version 4.14.195</title>
<updated>2020-08-26T22:27:56Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2020-08-21T12:21:08Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=a2a75c21bdb1afc6786d01693c8a52f34197ea9b'/>
<id>urn:sha1:a2a75c21bdb1afc6786d01693c8a52f34197ea9b</id>
<content type='text'>
Compile and runtime tested on lantiq/xrx200 and x86/64.

Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
</content>
</entry>
<entry>
<title>ath79: add support for TP-Link TL-WR710N v2.1</title>
<updated>2020-08-24T17:56:10Z</updated>
<author>
<name>Adrian Schmutzler</name>
</author>
<published>2020-08-18T11:49:15Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=8b0278a17eea57558ff38e825f37c538af3827e2'/>
<id>urn:sha1:8b0278a17eea57558ff38e825f37c538af3827e2</id>
<content type='text'>
This adds support for the TP-Link TL-WR710N v2.1. It is basically a
re-issue of the v1.2.

Specifications:

SoC:       Atheros AR9331
CPU:       400 MHz
Flash:     8 MiB
RAM:       32 MiB
WiFi:      2.4 GHz b/g/n
Ethernet:  2x 100M ports
USB:       1x 2.0

The only difference from the v1 is the TP-Link hardware ID/revision.

Attention:
The TL-WR710N v2.0 (!) has only 4 MB flash and cannot be flashed with
this image. It has a different TPLINK_HWREV, so accidental flashing
of the factory image should be impossible without additional measures.

Unfortunately, the v2.0 in ar71xx has the same board name, so sysupgrade
from ar71xx v2.0 into ath79 v1/v2.1 will not be prevented, but will brick
the device.

Flashing instruction:

Upload the factory image via the OEM firmware GUI upgrade mechanism.

Further notes:

To make implementation easier if somebody desires to port the 4M v2.0,
this already creates two DTSI files.

Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
Tested-by: Fabian Eppig &lt;fabian@eppig.de&gt;
(backported from eb531337a779a48a2d17bc66f0d222325d6c1563)
</content>
</entry>
<entry>
<title>generic: platform/mikrotik: fix incorrect test</title>
<updated>2020-08-18T16:22:33Z</updated>
<author>
<name>Thibaut VARÈNE</name>
</author>
<published>2020-08-18T09:57:31Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=d8ecaef409517c3c09381bee648e7beb35ae4329'/>
<id>urn:sha1:d8ecaef409517c3c09381bee648e7beb35ae4329</id>
<content type='text'>
The test is meant to check the result of the preceding kmalloc()

Signed-off-by: Thibaut VARÈNE &lt;hacks@slashdirt.org&gt;
(cherry picked from commit d0498872ff71a79f0676cfc6b6b547c499bff712)
</content>
</entry>
<entry>
<title>ath79: enable gpio on ar933x by default</title>
<updated>2020-08-18T15:45:20Z</updated>
<author>
<name>Adrian Schmutzler</name>
</author>
<published>2020-07-03T15:21:12Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=008db6b970613d291b245d95734e3e42b5455f6c'/>
<id>urn:sha1:008db6b970613d291b245d95734e3e42b5455f6c</id>
<content type='text'>
All other SoC DTSI files have gpio enabled by default, only
ar9330/ar9331 disable it by default, only to have it enabled again
afterwards for each individual device.

So, do not disable it in the first place, and drop all device-specific
status statements afterwards.

Though this is a cosmetic commit, it might be a pitfall for
device-support backporters if missing. Since backporting it is trivial,
let's just do it.

Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
(cherry picked from commit dc1280ef652c6522269c7a864810c19362d33dc4)
</content>
</entry>
<entry>
<title>ath79: fix syntax error in ar7240_tplink_tl-wa.dtsi</title>
<updated>2020-08-17T16:29:03Z</updated>
<author>
<name>Adrian Schmutzler</name>
</author>
<published>2020-08-17T16:26:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=3df63fba7044ec798dfbc78340126e0d0a4803c1'/>
<id>urn:sha1:3df63fba7044ec798dfbc78340126e0d0a4803c1</id>
<content type='text'>
The node needs to be terminated by a semicolon.

Fixes: 8484a764df20 ("ath79: ar724x: make sure builtin-switch is
enabled in DT")

Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
(cherry picked from commit e329e71c6915ffdf7fe99efc323a6de7867d0cbe)
</content>
</entry>
<entry>
<title>ath79: ar724x: make sure builtin-switch is enabled in DT</title>
<updated>2020-08-17T13:52:01Z</updated>
<author>
<name>Adrian Schmutzler</name>
</author>
<published>2020-08-14T13:09:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=be09fdbf36c0a69e7fd024328a793313ae3bafd3'/>
<id>urn:sha1:be09fdbf36c0a69e7fd024328a793313ae3bafd3</id>
<content type='text'>
On ar7240/ar7241 the mdioX node with the builtin-switch is enabled
in the DTSI files, but the parent ethX node is left disabled. It
only gets enabled per device or device family, and has not been
enabled at all yet for the TP-Link WA devices with ar7240, making
the switch unavailable there.

This patch makes sure &amp;eth0/&amp;eth1 nodes are enabled together with
the &amp;mdio0/&amp;mdio1 nodes containing the builtin-switch.
For ar7240_tplink_tl-wa.dtsi, &amp;eth0 is properly hidden again via
  compatible = "syscon", "simple-mfd";

This partially fixes FS#2887, however it seems dmesg still does
not show cable (dis)connect in dmesg for ar7240 TP-Link WA
devices.

Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
(cherry picked from commit 8484a764df20cdd673c74b583bfbf71e10c02726)
</content>
</entry>
<entry>
<title>ath79: WNR612v2: improve device support</title>
<updated>2020-08-17T13:49:57Z</updated>
<author>
<name>Michal Cieslakiewicz</name>
</author>
<published>2019-10-16T10:39:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=5d3e5d6ccc7654bd98784c9de83de49f3c542577'/>
<id>urn:sha1:5d3e5d6ccc7654bd98784c9de83de49f3c542577</id>
<content type='text'>
This patch improves ath79 support for Netgear WNR612v2.
Router functionality becomes identical to ar71xx version.

Changes include:
* software control over LAN LEDs via sysfs
* correct MAC addresses for network interfaces
* correct image size in device definition
* dts: 'keys' renamed to 'ath9k-keys'
* dts: 'label-mac-device' set to eth1 (LAN)
* dts: formatting adjustments

Signed-off-by: Michal Cieslakiewicz &lt;michal.cieslakiewicz@wp.pl&gt;
(cherry picked from commit d74324e407de7fb641310070762923f7e4cd2d6c)
[remove label-mac-device]
Signed-off-by: Adrian Schmutzler &lt;freifunk@adrianschmutzler.de&gt;
</content>
</entry>
<entry>
<title>ath79: add LAN LEDs control bits for AR724x GPIO function pinmux</title>
<updated>2020-08-17T13:49:01Z</updated>
<author>
<name>Michal Cieslakiewicz</name>
</author>
<published>2019-10-16T10:38:43Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=fba9a8882119c4e5fd82095d7ddcfdcfaaf144b8'/>
<id>urn:sha1:fba9a8882119c4e5fd82095d7ddcfdcfaaf144b8</id>
<content type='text'>
Currently AR724x pinmux for register 0x18040028 controls only JTAG disable bit.
This patch adds new DTS settings to control LAN LEDs and CLKs that allow
full software control over these diodes - exactly the same is done by ar71xx
target in device setup phase for many routers (WNR2000v3 for example).

'switch_led_disable_pins' clears AR724X_GPIO_FUNC_ETH_SWITCH_LED[0-4]_EN bits.
'clks_disable_pins' clears AR724X_GPIO_FUNC_CLK_OBS[1-5]_EN and
AR724X_GPIO_FUNC_GE0_MII_CLK_EN bits. These all should be used together, along
with 'jtag_disable_pins', to allow OS to control all GPIO-connected LEDs and
buttons on device.

Signed-off-by: Michal Cieslakiewicz &lt;michal.cieslakiewicz@wp.pl&gt;
(cherry picked from commit 69df7eb73d9922e5e717b004aae06f93fe692dba)
</content>
</entry>
</feed>
