<feed xmlns='http://www.w3.org/2005/Atom'>
<title>staging/pepe2k/package/kernel, branch v24.10.0</title>
<subtitle>Staging tree of Piotr Dymacz</subtitle>
<id>https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v24.10.0</id>
<link rel='self' href='https://git.openwrt.org/openwrt/staging/pepe2k/atom?h=v24.10.0'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/'/>
<updated>2025-01-25T12:34:13Z</updated>
<entry>
<title>kernel: Make kmod-usb-chipidea select kmod-phy-ath79-usb</title>
<updated>2025-01-25T12:34:13Z</updated>
<author>
<name>Hauke Mehrtens</name>
</author>
<published>2025-01-24T21:56:59Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=1e9966a63ae430a5c48039fd9752bf1c465325f3'/>
<id>urn:sha1:1e9966a63ae430a5c48039fd9752bf1c465325f3</id>
<content type='text'>
The USB PHY on the ar9330 and similar SoCs needs the PHY driver. In
OpenWrt 23.05 it was compiled into the kernel. The kernel 6.6
configuration does not compile it in any more, make the
kmod-usb-chipidea driver select it to add it to the images.

Fixes: https://github.com/openwrt/openwrt/issues/17710
Fixes: 04bdf9b3323e ("ath79: disable ath79 USB phy drivers by default")
Link: https://github.com/openwrt/openwrt/pull/17720
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit b467e5a0afebbc4982213c03f90dfc6deb717b36)
</content>
</entry>
<entry>
<title>kernel: vrx518_tc: bump PKG_RELEASE</title>
<updated>2025-01-24T21:26:21Z</updated>
<author>
<name>Sergey Ryazanov</name>
</author>
<published>2025-01-22T22:26:54Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=04a1d0d410fe4df85e5dfc1716102eb9df0d88ad'/>
<id>urn:sha1:04a1d0d410fe4df85e5dfc1716102eb9df0d88ad</id>
<content type='text'>
Bump PKG_RELEASE after the previous fixes.

Signed-off-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250122222654.21833-5-ryazanov.s.a@gmail.com/
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit 78f908407e2824bc69a65acec270ffb94eca4038)
</content>
</entry>
<entry>
<title>ipq40xx: fix compatibility with linux-atm tools</title>
<updated>2025-01-24T21:26:20Z</updated>
<author>
<name>Sergey Ryazanov</name>
</author>
<published>2025-01-22T22:26:53Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=a96eaa645647d3f4c39bd01d2d43418abf29ad0c'/>
<id>urn:sha1:a96eaa645647d3f4c39bd01d2d43418abf29ad0c</id>
<content type='text'>
atm_qos struct should be the same both for user and kernel spaces. Via
the __SO_ENCODE() macro it is used to define the SO_ATMQOS socket IOC.

During the VRX518 support introduction, the atm_trafprm sturct nested
into the atm_qos stucture was update with newer fields that are
referenced by the ATM TC layer of the VRX518 TC driver. These new fields
are intended to communicate information for extra traffic classes
supported by the driver. But we are still using vanilla kernel headers
to build the toolchain. Due to the atm.h header incoherency br2684ctl
from linux-atm tools is incapable to configure the ATM bridge netdev:

  br2684ctl: Interface "dsl0" created sucessfully
  br2684ctl: Communicating over ATM 0.1.2, encapsulation: LLC
  br2684ctl: setsockopt SO_ATMQOS 22 &lt;-- EINVAL errno
  br2684ctl: Fatal: failed to connect on socket; File descriptor in bad state

There are two options to fix this incoherency. (a) update the header
file in the toolchain to build linux-atm against updated atm_trafprm and
atm_qos structures, or (b) revert atm_trafprm changes.

Since there are no actual users of the extra ATM QoS traffic classes,
just drop these extra traffic classes from vrx518_tc ATM TC layer and
drop the kernel patch updating atm.h.

Besides fixing the compatibility with linux-atm tools, removing the
kernel patch should simplify kernel updates removing unneeded burden of
maintenance.

Run tested with FRITZ!Box 7530 with disabled extra traffic classes and
then removed them entirely before the submission.

CC: John Crispin &lt;john@phrozen.org&gt;
Fixes: cfd42a0098 ("ipq40xx: add Intel/Lantiq ATM hacks")
Suggested-by: Andre Heider &lt;a.heider@gmail.com&gt;
Reported-and-tested-by: nebibigon93@yandex.ru
Signed-off-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250122222654.21833-4-ryazanov.s.a@gmail.com/
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit 6d6dc3a3c967174598a44503f4af281574660356)
</content>
</entry>
<entry>
<title>kernel: vrx518_tc: fix ADSL/ATM operation</title>
<updated>2025-01-24T21:26:19Z</updated>
<author>
<name>Sergey Ryazanov</name>
</author>
<published>2025-01-22T22:26:52Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=6383f24378ed745c2a9fe2645df9d31470eb9599'/>
<id>urn:sha1:6383f24378ed745c2a9fe2645df9d31470eb9599</id>
<content type='text'>
ATM TC layer have some issues which effectively prevent VRX518 from
being used as ADSL modem. Specifically, there one crash during the ATM
layer configuration and wrong PVC ID selection on packet receiving what
breaks RX path. Fix both of the issues. Make subif iface registration
optional to prevent the crash (see more details in the new patch) and
update the hardcoded PVC ID to match the first allocated channel.

Run tested with FRITZ!Box 7530.

Fixes: 474bbe23b7 ("kernel: add Intel/Lantiq VRX518 TC driver")
Reported-and-tested-by: nebibigon93@yandex.ru
Signed-off-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250122222654.21833-3-ryazanov.s.a@gmail.com/
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit 470335450e67002366fcbcd7334b15bdf008e44d)
</content>
</entry>
<entry>
<title>kernel: vrx518_tc: fix RX desc phys to virt mapping</title>
<updated>2025-01-24T21:26:17Z</updated>
<author>
<name>Sergey Ryazanov</name>
</author>
<published>2025-01-22T22:26:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=9b32a8ec9d21197202f689225ca3ead817d5a689'/>
<id>urn:sha1:9b32a8ec9d21197202f689225ca3ead817d5a689</id>
<content type='text'>
It looks like VRX518 returns phys addr of data buffer in the 'data_ptr'
field of the RX descriptor and an actual data offset within the buffer
in the 'byte_off' field. In order to map the phys address back to
virtual we need the original phys address of the allocated buffer.

In the same driver applies offset to phys address before the mapping,
what leads to WARN_ON triggering in plat_mem_virt() function with
subsequent kernel panic:

  WARNING: CPU: 0 PID: 0 at .../sw_plat.c:764 0xbf306cd0 [vrx518_tc@8af9f5d0+0x25000]
  ...
  Unable to handle kernel NULL pointer dereference at virtual address 00000000
  pgd = aff5701e
  [00000000] *pgd=00000000
  Internal error: Oops: 5 [#1] SMP ARM

Noticed in ATM mode, when chip always returns byte_off = 4.

In order to fix the issue, pass the phys address to plat_mem_virt() as
is and apply byte_off later for proper DMA syncing and on mapped virtual
address when copying RXed data into the skb.

Run tested with FRITZ!Box 7530 on both ADSL and VDSL (thanks Jan) links.

Fixes: 474bbe23b7 ("kernel: add Intel/Lantiq VRX518 TC driver")
Tested-by: Jan Hoffmann &lt;jan@3e8.eu&gt; # VDSL link
Reported-and-tested-by: nebibigon93@yandex.ru # ADSL link
Signed-off-by: Sergey Ryazanov &lt;ryazanov.s.a@gmail.com&gt;
Link: https://patchwork.ozlabs.org/project/openwrt/patch/20250122222654.21833-2-ryazanov.s.a@gmail.com/
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit 7bd579689d2304c73c263be3e030d76c551d6e87)
</content>
</entry>
<entry>
<title>generic: backport Realtek PHY patches from upstream</title>
<updated>2025-01-17T22:53:06Z</updated>
<author>
<name>Álvaro Fernández Rojas</name>
</author>
<published>2025-01-17T08:56:34Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=7cace002baaf5dc91c9c716c99597fcd65b30b61'/>
<id>urn:sha1:7cace002baaf5dc91c9c716c99597fcd65b30b61</id>
<content type='text'>
Adds patches for the temperature sensor on RTL822x.

Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;
(cherry picked from commit d7e82c78d7a2a84404198dab8faf8e142939eb05)
</content>
</entry>
<entry>
<title>generic: r8169: remove reverted temperature sensor patch</title>
<updated>2025-01-17T22:53:06Z</updated>
<author>
<name>Álvaro Fernández Rojas</name>
</author>
<published>2025-01-17T08:38:30Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=3078b4e51b1f4cc74237234c5d613ff05be3f2cb'/>
<id>urn:sha1:3078b4e51b1f4cc74237234c5d613ff05be3f2cb</id>
<content type='text'>
The patch adding temperature sensor support for r8169 has been removed upstream
and the functionality will be added to Realtek PHY instead:
https://github.com/torvalds/linux/commit/1f691a1fc4bef1c5cf5f503e14e1a22fc37c97e3

Signed-off-by: Álvaro Fernández Rojas &lt;noltari@gmail.com&gt;
(cherry picked from commit 0de9999a7819acf74f6adeaa27be363cf72409ab)
</content>
</entry>
<entry>
<title>mt76: update to Git HEAD (2025-01-14)</title>
<updated>2025-01-15T16:16:30Z</updated>
<author>
<name>Felix Fietkau</name>
</author>
<published>2025-01-14T12:48:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=f719c8552723f0525ce76ba44a75e45ecbe2e7a9'/>
<id>urn:sha1:f719c8552723f0525ce76ba44a75e45ecbe2e7a9</id>
<content type='text'>
cf4e709e493a wifi: mt76: mt7996: fix crash in mt7996_set_radar_background
4c786fa52bb2 wifi: mt76: mt7915: fix register mapping
849923df3dde wifi: mt76: mt7996: fix register mapping
6be1dc9a1c79 wifi: mt76: mt7925: fix the unfinished command of regd_notifier before suspend
d33ea3cab72b wifi: mt76: mt7925: fix CLC command timeout when suspend/resume
5aacd0d73c80 wifi: mt76: mt7925: add handler to hif suspend/resume event
e86e97e45397 wifi: mt76: mt7925e: fix too long of wifi resume time
e43df6bf4892 wifi: mt76: mt7996: fix thermal sparse warning
02f453d8dfc8 wifi: mt76: fix survey regression
7279e3f3c3e0 wifi: mt76: mt7925: fix unused-but-set warning
49c0bd66da3b wifi: mt76: mt7996: fix unused-but-set variable
2c068c96382e wifi: mt76: fix crash in mt76_switch_vif_chanctx
731070da2c2a wifi: mt76: mt7996: add max mpdu len capability
99d8ed164a96 wifi: mt76: mt7996: fix the capability of reception of EHT MU PPDU
32ee924831ba wifi: mt76: mt7996: fix HE Phy capability
9b588c7fb333 wifi: mt76: mt7996: fix incorrect indexing of MIB FW event
46798905cf5a wifi: mt76: connac: adjust phy capabilities based on band constraints
5c50f6f7dafe wifi: mt76: mt7996: fix definition of tx descriptor
9cdb62dc084f wifi: mt76: mt7996: fix ldpc setting
8c6cb2f97fe0 wifi: mt76: mt7996: fix beacon command during disabling
8e4f72b682e9 wifi: mt76: mt7996: add implicit beamforming support for mt7992

Signed-off-by: Felix Fietkau &lt;nbd@nbd.name&gt;
(cherry picked from commit 3963dab0302ae29cbf2acf28f26c1432e4ddf1a5)
</content>
</entry>
<entry>
<title>kernel: modules: Add ETS Qdisc scheduler to sched KernelPackage</title>
<updated>2025-01-10T13:57:17Z</updated>
<author>
<name>Lorenzo Bianconi</name>
</author>
<published>2025-01-04T14:46:57Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=74b8a296cbe8e6fa373bedea005ebfb3befeafb9'/>
<id>urn:sha1:74b8a296cbe8e6fa373bedea005ebfb3befeafb9</id>
<content type='text'>
Add ETS Qdisch scheduler to kernel package modules.

Signed-off-by: Lorenzo Bianconi &lt;lorenzo@kernel.org&gt;
[ add commit description ]
Signed-off-by: Christian Marangi &lt;ansuelsmth@gmail.com&gt;
(cherry picked from commit 7e237f190225c0bcba0f5374632d0508f11398a8)
</content>
</entry>
<entry>
<title>mac80211: rt2x00: some improvements for rt5592</title>
<updated>2025-01-04T21:30:25Z</updated>
<author>
<name>Shiji Yang</name>
</author>
<published>2024-12-25T11:39:29Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/openwrt/staging/pepe2k/commit/?id=785ea040ec956877d42df46ffa0c91e65fb4ba3c'/>
<id>urn:sha1:785ea040ec956877d42df46ffa0c91e65fb4ba3c</id>
<content type='text'>
This patch contains some performance and stability improvements
for RT5592:

1. Fix RFCSR register init values for RT5592.
2. Fix BBP register init values for RT5592.

Signed-off-by: Shiji Yang &lt;yangshiji66@qq.com&gt;
Link: https://github.com/openwrt/openwrt/pull/16845
Signed-off-by: Hauke Mehrtens &lt;hauke@hauke-m.de&gt;
(cherry picked from commit 59557ca19a460d8ad70991f63616d1ad0dfe9823)
</content>
</entry>
</feed>
