<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">ср, 15 мая 2019 г., 18:59 Petr Štetiar <<a href="mailto:ynezz@true.cz">ynezz@true.cz</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Pavel Kubelun <<a href="mailto:be.dissent@gmail.com" target="_blank" rel="noreferrer">be.dissent@gmail.com</a>> [2019-05-14 16:42:19]:<br>
<br>
> diff --git a/target/linux/ipq40xx/patches-4.14/090-ipq40xx-fix-high-resolution-timer.patch b/target/linux/ipq40xx/patches-4.14/090-ipq40xx-fix-high-resolution-timer.patch<br>
> new file mode 100644<br>
> index 0000000000..0fc50ec533<br>
> --- /dev/null<br>
> +++ b/target/linux/ipq40xx/patches-4.14/090-ipq40xx-fix-high-resolution-timer.patch<br>
> @@ -0,0 +1,30 @@<br>
> +From 09f145f417a5d64d6b8d4476699dfb0eccc6c784 Mon Sep 17 00:00:00 2001<br>
> +From: Pavel Kubelun <<a href="mailto:be.dissent@gmail.com" target="_blank" rel="noreferrer">be.dissent@gmail.com</a>><br>
> +Date: Tue, 7 May 2019 10:14:05 +0300<br>
> +Subject: [PATCH] ipq40xx: fix high resolution timer<br>
> +<br>
> +Cherry-picked from CAF QSDK repo.<br>
<br>
You should preserve the authorship of the changes if you do so. It looks now,<br>
like you're author of this work.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Sure, will fix this.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> +The kernel is failing in switching the timer for high resolution<br>
> +mode and clock source operates in 10ms resolution. The always-on<br>
> +property needs to be given for timer device tree node to make<br>
> +clock source working in 1ns resolution.<br>
<br>
Shouldn't this go through upstream as well?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">It should, but I'm not the author.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> +     soc {<br>
> diff --git a/target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch b/target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch<br>
> index 0e1bb87368..b7e241058c 100644<br>
> --- a/target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch<br>
> +++ b/target/linux/ipq40xx/patches-4.14/701-dts-ipq4019-add-mdio-node.patch<br>
> @@ -15,7 +15,7 @@ so the info might change.<br>
>  <br>
>  --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi<br>
>  +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi<br>
> -@@ -566,6 +566,34 @@<br>
> +@@ -567,6 +567,34 @@<br>
>                       status = "disabled";<br>
>               };<br>
<br>
Probably some leftover?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><span style="font-family:sans-serif">It's a refresh of existing patches, because they are applied to the same file.</span><br></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
> diff --git a/target/linux/ipq40xx/patches-4.14/702-dts-ipq4019-add-PHY-switch-nodes.patch b/target/linux/ipq40xx/patches-4.14/702-dts-ipq4019-add-PHY-switch-nodes.patch<br>
> index 03da6c863a..cc56a60ea3 100644<br>
> --- a/target/linux/ipq40xx/patches-4.14/702-dts-ipq4019-add-PHY-switch-nodes.patch<br>
> +++ b/target/linux/ipq40xx/patches-4.14/702-dts-ipq4019-add-PHY-switch-nodes.patch<br>
> @@ -14,7 +14,7 @@ Signed-off-by: Christian Lamparter <<a href="mailto:chunkeey@gmail.com" target="_blank" rel="noreferrer">chunkeey@gmail.com</a>><br>
>  <br>
>  --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi<br>
>  +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi<br>
> -@@ -594,6 +594,29 @@<br>
> +@@ -595,6 +595,29 @@<br>
>                       };<br>
>               };<br>
<br>
Ditto.<br>
<br>
> diff --git a/target/linux/ipq40xx/patches-4.14/711-dts-ipq4019-add-ethernet-essedma-node.patch b/target/linux/ipq40xx/patches-4.14/711-dts-ipq4019-add-ethernet-essedma-node.patch<br>
> index 7302d237bc..80b16a8211 100644<br>
> --- a/target/linux/ipq40xx/patches-4.14/711-dts-ipq4019-add-ethernet-essedma-node.patch<br>
> +++ b/target/linux/ipq40xx/patches-4.14/711-dts-ipq4019-add-ethernet-essedma-node.patch<br>
> @@ -25,7 +25,7 @@ Signed-off-by: Christian Lamparter <<a href="mailto:chunkeey@gmail.com" target="_blank" rel="noreferrer">chunkeey@gmail.com</a>><br>
>       };<br>
>   <br>
>       cpus {<br>
> -@@ -617,6 +619,64 @@<br>
> +@@ -618,6 +620,64 @@<br>
>                       status = "disabled";<br>
>               };<br>
<br>
Ditto.<br>
<br>
> diff --git a/target/linux/ipq40xx/patches-4.19/086-ipq40xx-fix-high-resolution-timer.patch b/target/linux/ipq40xx/patches-4.19/086-ipq40xx-fix-high-resolution-timer.patch<br>
> new file mode 100644<br>
> index 0000000000..9d277fa8e0<br>
> --- /dev/null<br>
> +++ b/target/linux/ipq40xx/patches-4.19/086-ipq40xx-fix-high-resolution-timer.patch<br>
> @@ -0,0 +1,30 @@<br>
> +From 09f145f417a5d64d6b8d4476699dfb0eccc6c784 Mon Sep 17 00:00:00 2001<br>
> +From: Pavel Kubelun <<a href="mailto:be.dissent@gmail.com" target="_blank" rel="noreferrer">be.dissent@gmail.com</a>><br>
> +Date: Tue, 7 May 2019 10:14:05 +0300<br>
> +Subject: [PATCH] ipq40xx: fix high resolution timer<br>
> +<br>
> +Cherry-picked from CAF QSDK repo.<br>
> +Original commit message:<br>
> +The kernel is failing in switching the timer for high resolution<br>
> +mode and clock source operates in 10ms resolution. The always-on<br>
> +property needs to be given for timer device tree node to make<br>
> +clock source working in 1ns resolution.<br>
<br>
Same as above.<br>
<br>
> diff --git a/target/linux/ipq40xx/patches-4.19/701-dts-ipq4019-add-mdio-node.patch b/target/linux/ipq40xx/patches-4.19/701-dts-ipq4019-add-mdio-node.patch<br>
> index e5936a0c93..0298644d22 100644<br>
> --- a/target/linux/ipq40xx/patches-4.19/701-dts-ipq4019-add-mdio-node.patch<br>
> +++ b/target/linux/ipq40xx/patches-4.19/701-dts-ipq4019-add-mdio-node.patch<br>
> @@ -15,7 +15,7 @@ so the info might change.<br>
>  <br>
>  --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi<br>
>  +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi<br>
> -@@ -570,6 +570,34 @@<br>
> +@@ -571,6 +571,34 @@<br>
>                       status = "disabled";<br>
>               };<br>
<br>
Ditto.<br>
<br>
> diff --git a/target/linux/ipq40xx/patches-4.19/702-dts-ipq4019-add-PHY-switch-nodes.patch b/target/linux/ipq40xx/patches-4.19/702-dts-ipq4019-add-PHY-switch-nodes.patch<br>
> index 7c5d1ec2bb..df95699294 100644<br>
> --- a/target/linux/ipq40xx/patches-4.19/702-dts-ipq4019-add-PHY-switch-nodes.patch<br>
> +++ b/target/linux/ipq40xx/patches-4.19/702-dts-ipq4019-add-PHY-switch-nodes.patch<br>
> @@ -14,7 +14,7 @@ Signed-off-by: Christian Lamparter <<a href="mailto:chunkeey@gmail.com" target="_blank" rel="noreferrer">chunkeey@gmail.com</a>><br>
>  <br>
>  --- a/arch/arm/boot/dts/qcom-ipq4019.dtsi<br>
>  +++ b/arch/arm/boot/dts/qcom-ipq4019.dtsi<br>
> -@@ -598,6 +598,29 @@<br>
> +@@ -599,6 +599,29 @@<br>
>                       };<br>
>               };<br>
<br>
Ditto.<br>
<br>
> diff --git a/target/linux/ipq40xx/patches-4.19/711-dts-ipq4019-add-ethernet-essedma-node.patch b/target/linux/ipq40xx/patches-4.19/711-dts-ipq4019-add-ethernet-essedma-node.patch<br>
> index 51cf411143..8f7627b048 100644<br>
> --- a/target/linux/ipq40xx/patches-4.19/711-dts-ipq4019-add-ethernet-essedma-node.patch<br>
> +++ b/target/linux/ipq40xx/patches-4.19/711-dts-ipq4019-add-ethernet-essedma-node.patch<br>
> @@ -25,7 +25,7 @@ Signed-off-by: Christian Lamparter <<a href="mailto:chunkeey@gmail.com" target="_blank" rel="noreferrer">chunkeey@gmail.com</a>><br>
>       };<br>
>   <br>
>       cpus {<br>
> -@@ -621,6 +623,64 @@<br>
> +@@ -622,6 +624,64 @@<br>
>                       status = "disabled";<br>
>               };<br>
<br>
Ditto.<br>
</blockquote></div></div></div>