-
-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ipq806x: adds kernel 4.19 support #2472
Conversation
target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8065-r7800.dts
Show resolved
Hide resolved
target/linux/ipq806x/files-4.19/arch/arm/boot/dts/qcom-ipq8064-c2600.dts
Show resolved
Hide resolved
@pkgadd if you have other comment just tell me |
does this just copy over the clk patchset from 4.14 (0049-0056)? because it doesn't work that well there, and it appears to not work properly here either :(. |
I've been running this revised pull request on my ZyXEL NBG6817/ IPQ8065 for the last two days (kernel 4.19.78) - it seems to be fine (including USB, but I haven't checked this in detail). Thanks a lot for pushing this forward. |
actually bandwidth is lower on this kernel, noticeably so on the |
i'm here to test what you want @facboy |
after further wandering around btw I think those old |
some guy on the forum was working on them so i think you should ask to him |
Just applied this PR on R7800 and my unscientific testing with Speedtest® shows consistent 100Mbps increase in both DL/UL from 750Mbps/750Mbps to 850Mbps/850Mbps. Got 1Gbps DL/UL line from ISP. Appreciate the speed increase. Otherwise looks ok so far. |
Any news on this ? On forum we have plenty of positive feedback from 4 different type of router |
For my pretty standard use case it's been working very well ever since installation and the logs are clean. root@R7800:/# uname -a && uptime |
I have been running this with the latest master commits applied on top for the past day or so without any issues. USB works as well, but I have not really tested in detail. @Ansuel here is the bootlog if you want to take a look: https://gist.github.com/huaracheguarache/d4e90df68fb00f95ff99b645d4486609 |
I also did several tests on the 4.19 ipq806x (NBG6817). I noticed that VPN throuput (IPsec Performance) dropped to 30% with exactly the same config (kernel and openwrt), kernel crypto and arm crypto stuff tested (enabled in kconfig). |
I think the slow down I related to cpu and cache problems and not on the
kernel
Il Ven 1 Nov 2019, 10:24 ddimension <notifications@github.com> ha scritto:
… I also did several tests on the 4.19 ipq806x (NBG6817). I noticed that VPN
throuput (IPsec Performance) dropped to 30% with exactly the same config
(kernel and openwrt), kernel crypto and arm crypto stuff tested (enabled in
kconfig).
Also the whole system feels a bit slowier (execution time of binaries).
Timers (clock, ddr) in dts have been compared, also checked in the running
system. I'm a fan of 419, but this needs be solved before and I have no
clue where to look. Any ideas?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2472?email_source=notifications&email_token=AE2ZMQU2I22G6SZ3AF3VU4TQRPYTLA5CNFSM4I56ADB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC2NHHQ#issuecomment-548721566>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE2ZMQUWHYC6CJFHX66BDG3QRPYTLANCNFSM4I56ADBQ>
.
|
Could you give me a hint where to start searching? I have access to multiple NBG6817.
|
@facboy s trying to port cache fix to kernel 4.19 |
` [ 220.049966] Possible unsafe locking scenario: |
@wulfy23 are you sure this is related to this target? |
Yes. Likely not directly related to your patchset. |
just provide some information, maybe its just ath10k-ct problem. @hauke |
@chunkeey What about this? :-) I can help merging it in the current state if you don't have time for this currently and it can be polished later (if needed at all), right? |
What is needed from my point of view in order to merge it if @chunkeey is not planning to do it himself:
|
Set qcom,apq8064-saw2-v1.1-cpu as regulator to make cpuidle work. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Spc is disabled in ipq8065 board as it does cause cpu lockup (probably caused by wrong register being set) Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Adds missing gpio and gsbi declaration. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Increase drive-strength from https://lore.kernel.org/patchwork/patch/626885/ 2mA drive strength is not enough when we connect multiple i2c devices on the bus with different pull up resistors. This issue was detected when multiple i2c devices connected on the other side of level shifters on Linaro sensor board. Maxing up to 16mA made i2c much stable. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Add some tags for nand and sata structure to easily reference them in other dts. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Add missing watchdog to list of compatible timers Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Add missing wifi compatible definition for r7800 device. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
There is warning with "property has invalid length (4 bytes)" related to nand definition. Set size-cells to zero to fix this. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reorganize dts to use tags from ipq8064 dtsi Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
From documentation https://www.kernel.org/doc/Documentation/devicetree/bindings/chosen.txt should be just stdout-path Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Improve rediability of gpio mdio list. No functional change. Signed-off-by: Christian Lamparter <chunkeey@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Added patch: - 063-3 Fix tsense shared memory problem Recent changes in ioremap_resource function are causing fails for the memory areas which are already mapped. This changes are causing tsense driver failures during initialization: qcom-tsens 900000.thermal-sensor: tsens init failed So this patch uses simple ioremap in order to use this shared memory space. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> [commit subject and desciption facelitf] Signed-off-by: Petr Štetiar <ynezz@true.cz>
- usb-dwc3-of-simple is not used anymore as we have qcom dedicated driver - usb-phy-qcom-dwc3 is not dependent of dwc3-of-simple Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Voltage tolerance is accounted per core, not per cpu, so add missing DT entry. Signed-off-by: Pavel Kubelun <be.dissent@gmail.com> Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
- Use new dwc3-qcom usb driver. - Drop dwc3-of-simple as we have a dedicated driver now. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> [split into separate commit, commit subject facelift] Signed-off-by: Petr Štetiar <ynezz@true.cz>
It has been used by several people for some time already and feedback has been mostly positive. Ref: openwrt#2472 Tested-by: Hannu Nyman <hannu.nyman@iki.fi> [ipq8065, R7800] Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [ipq8065, NBG6817] Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> [separate commit, commit subject and description facelift] Signed-off-by: Petr Štetiar <ynezz@true.cz>
719a576
to
467e3be
Compare
Thanks! Pulled into my staging tree at https://git.openwrt.org/openwrt/staging/ynezz.git |
@Ansuel Thank you for your work and patience! :-) |
Np. I notice you readded the testing commit.
When this will get merged in master will ipq be switched to 4.19 directly?
Il Gio 19 Dic 2019, 14:13 Petr Štetiar <notifications@github.com> ha
scritto:
… Any news about this?
@Ansuel <https://github.com/Ansuel> Thank you for your work and patience!
:-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2472?email_source=notifications&email_token=AE2ZMQR6KKQEONQI3OZOKTLQZNXOPA5CNFSM4I56ADB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHJR5IY#issuecomment-567484067>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE2ZMQUN5IOBGJ4JGDVGZE3QZNXOPANCNFSM4I56ADBQ>
.
|
It has been used by several people for some time already and feedback has been mostly positive. Ref: #2472 Tested-by: Hannu Nyman <hannu.nyman@iki.fi> [ipq8065, R7800] Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [ipq8065, NBG6817] Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> [separate commit, commit subject and description facelift] Signed-off-by: Petr Štetiar <ynezz@true.cz>
It has been used by several people for some time already and feedback has been mostly positive. Ref: openwrt/openwrt#2472 Tested-by: Hannu Nyman <hannu.nyman@iki.fi> [ipq8065, R7800] Tested-by: Stefan Lippers-Hollmann <s.l-h@gmx.de> [ipq8065, NBG6817] Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> [separate commit, commit subject and description facelift] Signed-off-by: Petr Štetiar <ynezz@true.cz>
99% of the work to port the patch to 4.19 is from @chunkeey
I'm proposing this as from the testing of me and some other 4.19 doesn't look to cause any regression but instead fix cpuidle.
We have long tested this with a r7800 (me) and r7500
Think we should at least push a initial patchset for testing so that we can test this with more userbase.
Some changes are done to usb.mk to reflect use of new qcom dwc3 driver instead of the generic one.
This is the only way i found to use both the driver in the ipq806x Makefile.
Based on https://git.openwrt.org/?p=openwrt/staging/chunkeey.git;a=commit;h=c096b58311b52068cfa90d437d1bcfaf7fcd0d2e
Fixed broken tsens driver
Fixed bootloop on ipq8065 soc with CPU_IDLE enabled
Signed-off-by: Ansuel Smith ansuelsmth@gmail.com