* Re: [PATCH RFC 2/5] net/sched: prepare TC actions to properly validate the control action
From: Vlad Buslov @ 2019-02-18 16:52 UTC (permalink / raw)
To: Davide Caratti
Cc: Jamal Hadi Salim, Cong Wang, Jiri Pirko, David S. Miller,
Paolo Abeni, netdev@vger.kernel.org
In-Reply-To: <e5c17c6efa552ef10bb719f3f0532fa717aca367.1550271080.git.dcaratti@redhat.com>
Hi Davide,
I really like the idea of putting all action validation code in single
place, instead of spreading it between act API and specific actions init
code.
See my comment regarding minor problem with using
tcf_action_set_ctrlact() on current net-next below.
On Fri 15 Feb 2019 at 23:06, Davide Caratti <dcaratti@redhat.com> wrote:
> - add tcf_action_check_ctrlact(), and pass a pointer to struct tcf_proto
> in each actions's init() function, to allow validation of 'goto chain'
> control action.
> - add tcf_action_set_ctrlact(), to set the control action, release the
> previous 'goto_chain' handle and replace it with the new one.
>
> Signed-off-by: Davide Caratti <dcaratti@redhat.com>
> ---
> include/net/act_api.h | 9 +++++-
> net/sched/act_api.c | 58 ++++++++++++++++++++++++++++++++++++--
> net/sched/act_bpf.c | 2 +-
> net/sched/act_connmark.c | 1 +
> net/sched/act_csum.c | 2 +-
> net/sched/act_gact.c | 2 +-
> net/sched/act_ife.c | 2 +-
> net/sched/act_ipt.c | 11 ++++----
> net/sched/act_mirred.c | 1 +
> net/sched/act_nat.c | 3 +-
> net/sched/act_pedit.c | 2 +-
> net/sched/act_police.c | 1 +
> net/sched/act_sample.c | 2 +-
> net/sched/act_simple.c | 2 +-
> net/sched/act_skbedit.c | 1 +
> net/sched/act_skbmod.c | 1 +
> net/sched/act_tunnel_key.c | 1 +
> net/sched/act_vlan.c | 2 +-
> 18 files changed, 86 insertions(+), 17 deletions(-)
>
> diff --git a/include/net/act_api.h b/include/net/act_api.h
> index dbc795ec659e..55a8d44ac0c7 100644
> --- a/include/net/act_api.h
> +++ b/include/net/act_api.h
> @@ -90,7 +90,7 @@ struct tc_action_ops {
> int (*lookup)(struct net *net, struct tc_action **a, u32 index);
> int (*init)(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **act, int ovr,
> - int bind, bool rtnl_held,
> + int bind, bool rtnl_held, struct tcf_proto *tp,
> struct netlink_ext_ack *extack);
> int (*walk)(struct net *, struct sk_buff *,
> struct netlink_callback *, int,
> @@ -181,6 +181,13 @@ int tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int, int);
> int tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int, int);
> int tcf_action_copy_stats(struct sk_buff *, struct tc_action *, int);
>
> +int tcf_action_check_ctrlact(int action, struct tcf_proto *tp,
> + struct tcf_chain **handle,
> + struct netlink_ext_ack *extack);
> +
> +void tcf_action_set_ctrlact(struct tc_action *p, int action,
> + struct tcf_chain *goto_chain);
> +
> #endif /* CONFIG_NET_CLS_ACT */
>
> static inline void tcf_action_stats_update(struct tc_action *a, u64 bytes,
> diff --git a/net/sched/act_api.c b/net/sched/act_api.c
> index 91d79fac8cb2..088b0d846bde 100644
> --- a/net/sched/act_api.c
> +++ b/net/sched/act_api.c
> @@ -71,6 +71,60 @@ static void tcf_set_action_cookie(struct tc_cookie __rcu **old_cookie,
> call_rcu(&old->rcu, tcf_free_cookie_rcu);
> }
>
> +int tcf_action_check_ctrlact(int action, struct tcf_proto *tp,
> + struct tcf_chain **handle,
> + struct netlink_ext_ack *extack)
> +{
> + int opcode = TC_ACT_EXT_OPCODE(action), ret = -EINVAL;
> + u32 chain_index;
> +
> + if (!opcode)
> + ret = action > TC_ACT_VALUE_MAX ? -EINVAL : 0;
> + else if (opcode <= TC_ACT_EXT_OPCODE_MAX || action == TC_ACT_UNSPEC)
> + ret = 0;
> + if (ret) {
> + NL_SET_ERR_MSG(extack, "invalid control action");
> + goto end;
> + }
> +
> + if (TC_ACT_EXT_CMP(action, TC_ACT_GOTO_CHAIN)) {
> + chain_index = action & TC_ACT_EXT_VAL_MASK;
> + if (!tp) {
> + ret = -EINVAL;
> + NL_SET_ERR_MSG(extack,
> + "can't use goto_chain with NULL proto");
> + goto end;
> + }
> + if (!handle) {
> + ret = -EINVAL;
> + NL_SET_ERR_MSG(extack,
> + "can't put goto_chain on NULL handle");
> + goto end;
> + }
> + *handle = tcf_chain_get_by_act(tp->chain->block, chain_index);
> + if (!*handle) {
> + ret = -ENOMEM;
> + NL_SET_ERR_MSG(extack,
> + "can't allocate goto_chain handle");
> + }
> + }
> +end:
> + return ret;
> +}
> +EXPORT_SYMBOL(tcf_action_check_ctrlact);
> +
> +void tcf_action_set_ctrlact(struct tc_action *p, int action,
> + struct tcf_chain *goto_chain)
> +{
> + struct tcf_chain *old;
> +
> + old = xchg(&p->goto_chain, goto_chain);
> + if (old)
> + tcf_chain_put_by_act(old);
This is blocking in current net-next because tcf_chain_put_by_act()
obtains block->lock mutex, so you can't call it while holding tcf_lock
spinlock like you do in following patches. Its not a big problem but I
guess you will have to just inline this code into all init handlers
instead of tcf_action_set_ctrlact() function.
BTW is atomic xchg strictly necessary if you hold tcf_lock while
re-assigning goto_chain pointer?
> + p->tcfa_action = action;
> +}
> +EXPORT_SYMBOL(tcf_action_set_ctrlact);
> +
> /* XXX: For standalone actions, we don't need a RCU grace period either, because
> * actions are always connected to filters and filters are already destroyed in
> * RCU callbacks, so after a RCU grace period actions are already disconnected
> @@ -890,10 +944,10 @@ struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp,
> /* backward compatibility for policer */
> if (name == NULL)
> err = a_o->init(net, tb[TCA_ACT_OPTIONS], est, &a, ovr, bind,
> - rtnl_held, extack);
> + rtnl_held, tp, extack);
> else
> err = a_o->init(net, nla, est, &a, ovr, bind, rtnl_held,
> - extack);
> + tp, extack);
> if (err < 0)
> goto err_mod;
>
> diff --git a/net/sched/act_bpf.c b/net/sched/act_bpf.c
> index c7633843e223..88a729bdab25 100644
> --- a/net/sched/act_bpf.c
> +++ b/net/sched/act_bpf.c
> @@ -278,7 +278,7 @@ static void tcf_bpf_prog_fill_cfg(const struct tcf_bpf *prog,
> static int tcf_bpf_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **act,
> int replace, int bind, bool rtnl_held,
> - struct netlink_ext_ack *extack)
> + struct tcf_proto *tp, struct netlink_ext_ack *extack)
> {
> struct tc_action_net *tn = net_generic(net, bpf_net_id);
> struct nlattr *tb[TCA_ACT_BPF_MAX + 1];
> diff --git a/net/sched/act_connmark.c b/net/sched/act_connmark.c
> index 8475913f2070..30c4c109c80c 100644
> --- a/net/sched/act_connmark.c
> +++ b/net/sched/act_connmark.c
> @@ -97,6 +97,7 @@ static const struct nla_policy connmark_policy[TCA_CONNMARK_MAX + 1] = {
> static int tcf_connmark_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a,
> int ovr, int bind, bool rtnl_held,
> + struct tcf_proto *tp,
> struct netlink_ext_ack *extack)
> {
> struct tc_action_net *tn = net_generic(net, connmark_net_id);
> diff --git a/net/sched/act_csum.c b/net/sched/act_csum.c
> index 3dc25b7806d7..1ae120c9ab02 100644
> --- a/net/sched/act_csum.c
> +++ b/net/sched/act_csum.c
> @@ -46,7 +46,7 @@ static struct tc_action_ops act_csum_ops;
>
> static int tcf_csum_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a, int ovr,
> - int bind, bool rtnl_held,
> + int bind, bool rtnl_held, struct tcf_proto *tp,
> struct netlink_ext_ack *extack)
> {
> struct tc_action_net *tn = net_generic(net, csum_net_id);
> diff --git a/net/sched/act_gact.c b/net/sched/act_gact.c
> index b61c20ebb314..727bbca9534b 100644
> --- a/net/sched/act_gact.c
> +++ b/net/sched/act_gact.c
> @@ -57,7 +57,7 @@ static const struct nla_policy gact_policy[TCA_GACT_MAX + 1] = {
> static int tcf_gact_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a,
> int ovr, int bind, bool rtnl_held,
> - struct netlink_ext_ack *extack)
> + struct tcf_proto *tp, struct netlink_ext_ack *extack)
> {
> struct tc_action_net *tn = net_generic(net, gact_net_id);
> struct nlattr *tb[TCA_GACT_MAX + 1];
> diff --git a/net/sched/act_ife.c b/net/sched/act_ife.c
> index 30b63fa23ee2..9b2eb941e093 100644
> --- a/net/sched/act_ife.c
> +++ b/net/sched/act_ife.c
> @@ -469,7 +469,7 @@ static int populate_metalist(struct tcf_ife_info *ife, struct nlattr **tb,
> static int tcf_ife_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a,
> int ovr, int bind, bool rtnl_held,
> - struct netlink_ext_ack *extack)
> + struct tcf_proto *tp, struct netlink_ext_ack *extack)
> {
> struct tc_action_net *tn = net_generic(net, ife_net_id);
> struct nlattr *tb[TCA_IFE_MAX + 1];
> diff --git a/net/sched/act_ipt.c b/net/sched/act_ipt.c
> index 8af6c11d2482..4b3c844ca988 100644
> --- a/net/sched/act_ipt.c
> +++ b/net/sched/act_ipt.c
> @@ -97,7 +97,8 @@ static const struct nla_policy ipt_policy[TCA_IPT_MAX + 1] = {
>
> static int __tcf_ipt_init(struct net *net, unsigned int id, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a,
> - const struct tc_action_ops *ops, int ovr, int bind)
> + const struct tc_action_ops *ops, int ovr, int bind,
> + struct tcf_proto *tp)
> {
> struct tc_action_net *tn = net_generic(net, id);
> struct nlattr *tb[TCA_IPT_MAX + 1];
> @@ -206,20 +207,20 @@ static int __tcf_ipt_init(struct net *net, unsigned int id, struct nlattr *nla,
>
> static int tcf_ipt_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a, int ovr,
> - int bind, bool rtnl_held,
> + int bind, bool rtnl_held, struct tcf_proto *tp,
> struct netlink_ext_ack *extack)
> {
> return __tcf_ipt_init(net, ipt_net_id, nla, est, a, &act_ipt_ops, ovr,
> - bind);
> + bind, tp);
> }
>
> static int tcf_xt_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a, int ovr,
> - int bind, bool unlocked,
> + int bind, bool unlocked, struct tcf_proto *tp,
> struct netlink_ext_ack *extack)
> {
> return __tcf_ipt_init(net, xt_net_id, nla, est, a, &act_xt_ops, ovr,
> - bind);
> + bind, tp);
> }
>
> static int tcf_ipt_act(struct sk_buff *skb, const struct tc_action *a,
> diff --git a/net/sched/act_mirred.c b/net/sched/act_mirred.c
> index c8cf4d10c435..69dda57f1097 100644
> --- a/net/sched/act_mirred.c
> +++ b/net/sched/act_mirred.c
> @@ -94,6 +94,7 @@ static struct tc_action_ops act_mirred_ops;
> static int tcf_mirred_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a,
> int ovr, int bind, bool rtnl_held,
> + struct tcf_proto *tp,
> struct netlink_ext_ack *extack)
> {
> struct tc_action_net *tn = net_generic(net, mirred_net_id);
> diff --git a/net/sched/act_nat.c b/net/sched/act_nat.c
> index c5c1e23add77..526c4c99bcce 100644
> --- a/net/sched/act_nat.c
> +++ b/net/sched/act_nat.c
> @@ -38,7 +38,8 @@ static const struct nla_policy nat_policy[TCA_NAT_MAX + 1] = {
>
> static int tcf_nat_init(struct net *net, struct nlattr *nla, struct nlattr *est,
> struct tc_action **a, int ovr, int bind,
> - bool rtnl_held, struct netlink_ext_ack *extack)
> + bool rtnl_held, struct tcf_proto *tp,
> + struct netlink_ext_ack *extack)
> {
> struct tc_action_net *tn = net_generic(net, nat_net_id);
> struct nlattr *tb[TCA_NAT_MAX + 1];
> diff --git a/net/sched/act_pedit.c b/net/sched/act_pedit.c
> index 2b372a06b432..1c7a0db7b466 100644
> --- a/net/sched/act_pedit.c
> +++ b/net/sched/act_pedit.c
> @@ -138,7 +138,7 @@ static int tcf_pedit_key_ex_dump(struct sk_buff *skb,
> static int tcf_pedit_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a,
> int ovr, int bind, bool rtnl_held,
> - struct netlink_ext_ack *extack)
> + struct tcf_proto *tp, struct netlink_ext_ack *extack)
> {
> struct tc_action_net *tn = net_generic(net, pedit_net_id);
> struct nlattr *tb[TCA_PEDIT_MAX + 1];
> diff --git a/net/sched/act_police.c b/net/sched/act_police.c
> index ec8ec55e0fe8..a444dd78a244 100644
> --- a/net/sched/act_police.c
> +++ b/net/sched/act_police.c
> @@ -83,6 +83,7 @@ static const struct nla_policy police_policy[TCA_POLICE_MAX + 1] = {
> static int tcf_police_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a,
> int ovr, int bind, bool rtnl_held,
> + struct tcf_proto *tp,
> struct netlink_ext_ack *extack)
> {
> int ret = 0, tcfp_result = TC_ACT_OK, err, size;
> diff --git a/net/sched/act_sample.c b/net/sched/act_sample.c
> index 1a0c682fd734..b2154edcb535 100644
> --- a/net/sched/act_sample.c
> +++ b/net/sched/act_sample.c
> @@ -37,7 +37,7 @@ static const struct nla_policy sample_policy[TCA_SAMPLE_MAX + 1] = {
>
> static int tcf_sample_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a, int ovr,
> - int bind, bool rtnl_held,
> + int bind, bool rtnl_held, struct tcf_proto *tp,
> struct netlink_ext_ack *extack)
> {
> struct tc_action_net *tn = net_generic(net, sample_net_id);
> diff --git a/net/sched/act_simple.c b/net/sched/act_simple.c
> index 902957beceb3..640ee5b785dc 100644
> --- a/net/sched/act_simple.c
> +++ b/net/sched/act_simple.c
> @@ -80,7 +80,7 @@ static const struct nla_policy simple_policy[TCA_DEF_MAX + 1] = {
> static int tcf_simp_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a,
> int ovr, int bind, bool rtnl_held,
> - struct netlink_ext_ack *extack)
> + struct tcf_proto *tp, struct netlink_ext_ack *extack)
> {
> struct tc_action_net *tn = net_generic(net, simp_net_id);
> struct nlattr *tb[TCA_DEF_MAX + 1];
> diff --git a/net/sched/act_skbedit.c b/net/sched/act_skbedit.c
> index 64dba3708fce..9fc8cfdd35b1 100644
> --- a/net/sched/act_skbedit.c
> +++ b/net/sched/act_skbedit.c
> @@ -96,6 +96,7 @@ static const struct nla_policy skbedit_policy[TCA_SKBEDIT_MAX + 1] = {
> static int tcf_skbedit_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a,
> int ovr, int bind, bool rtnl_held,
> + struct tcf_proto *tp,
> struct netlink_ext_ack *extack)
> {
> struct tc_action_net *tn = net_generic(net, skbedit_net_id);
> diff --git a/net/sched/act_skbmod.c b/net/sched/act_skbmod.c
> index 59710a183bd3..35572d0e4576 100644
> --- a/net/sched/act_skbmod.c
> +++ b/net/sched/act_skbmod.c
> @@ -82,6 +82,7 @@ static const struct nla_policy skbmod_policy[TCA_SKBMOD_MAX + 1] = {
> static int tcf_skbmod_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a,
> int ovr, int bind, bool rtnl_held,
> + struct tcf_proto *tp,
> struct netlink_ext_ack *extack)
> {
> struct tc_action_net *tn = net_generic(net, skbmod_net_id);
> diff --git a/net/sched/act_tunnel_key.c b/net/sched/act_tunnel_key.c
> index 8b43fe0130f7..c4adc53e0fb4 100644
> --- a/net/sched/act_tunnel_key.c
> +++ b/net/sched/act_tunnel_key.c
> @@ -209,6 +209,7 @@ static void tunnel_key_release_params(struct tcf_tunnel_key_params *p)
> static int tunnel_key_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a,
> int ovr, int bind, bool rtnl_held,
> + struct tcf_proto *tp,
> struct netlink_ext_ack *extack)
> {
> struct tc_action_net *tn = net_generic(net, tunnel_key_net_id);
> diff --git a/net/sched/act_vlan.c b/net/sched/act_vlan.c
> index 93fdaf707313..80fd0e238a10 100644
> --- a/net/sched/act_vlan.c
> +++ b/net/sched/act_vlan.c
> @@ -105,7 +105,7 @@ static const struct nla_policy vlan_policy[TCA_VLAN_MAX + 1] = {
> static int tcf_vlan_init(struct net *net, struct nlattr *nla,
> struct nlattr *est, struct tc_action **a,
> int ovr, int bind, bool rtnl_held,
> - struct netlink_ext_ack *extack)
> + struct tcf_proto *tp, struct netlink_ext_ack *extack)
> {
> struct tc_action_net *tn = net_generic(net, vlan_net_id);
> struct nlattr *tb[TCA_VLAN_MAX + 1];
^ permalink raw reply
* Re: stmmac / meson8b-dwmac
From: Simon Huelck @ 2019-02-18 16:51 UTC (permalink / raw)
To: Jose Abreu, Martin Blumenstingl
Cc: Emiliano Ingrassia, Gpeppe.cavallaro, alexandre.torgue,
linux-amlogic, netdev
In-Reply-To: <e1d75e7f-1747-d0ce-0ee7-4fa688b90d13@synopsys.com>
[-- Attachment #1: Type: text/plain, Size: 724 bytes --]
Hi,
no im testing vanilla mainline kernel and against 4.14. where
performance was ok. but turning off EEE via ethtool should have same
results than removal of that patch.
But, since it was mainlined recently , not long ago, i think this was
tested ??
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v5.0-rc7&id=a152c91889556df17ca6d8ea134fb2cb4ac9f893
attached is my kern.log
regards,
Simon
Am 18.02.2019 um 17:43 schrieb Jose Abreu:
> On 2/18/2019 4:40 PM, Simon Huelck wrote:
>> Hi,
>>
>> EEE is enabled for odroid - c2 and should be working in 5.0-rc7 afaik ?
> Oops, I was seeing in the wrong version, sorry.
>
> And did you test without that patch ?
>
> Thanks,
> Jose Miguel Abreu
[-- Attachment #2: kern.log --]
[-- Type: text/plain, Size: 46464 bytes --]
Feb 18 11:46:51 localhost kernel: [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
Feb 18 11:46:51 localhost kernel: [ 0.000000] Linux version 5.0.0-rc7+ (root@odroidc2) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 SMP Mon Feb 18 08:12:57 CET 2019
Feb 18 11:46:51 localhost kernel: [ 0.000000] Machine model: Hardkernel ODROID-C2
Feb 18 11:46:51 localhost kernel: [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000068000000, size 256 MiB
Feb 18 11:46:51 localhost kernel: [ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
Feb 18 11:46:51 localhost kernel: [ 0.000000] On node 0 totalpages: 486144
Feb 18 11:46:51 localhost kernel: [ 0.000000] DMA32 zone: 7616 pages used for memmap
Feb 18 11:46:51 localhost kernel: [ 0.000000] DMA32 zone: 0 pages reserved
Feb 18 11:46:51 localhost kernel: [ 0.000000] DMA32 zone: 486144 pages, LIFO batch:63
Feb 18 11:46:51 localhost kernel: [ 0.000000] psci: probing for conduit method from DT.
Feb 18 11:46:51 localhost kernel: [ 0.000000] psci: PSCIv0.2 detected in firmware.
Feb 18 11:46:51 localhost kernel: [ 0.000000] psci: Using standard PSCI v0.2 function IDs
Feb 18 11:46:51 localhost kernel: [ 0.000000] psci: Trusted OS migration not required
Feb 18 11:46:51 localhost kernel: [ 0.000000] random: get_random_bytes called from start_kernel+0xa4/0x448 with crng_init=0
Feb 18 11:46:51 localhost kernel: [ 0.000000] percpu: Embedded 23 pages/cpu @(____ptrval____) s53528 r8192 d32488 u94208
Feb 18 11:46:51 localhost kernel: [ 0.000000] pcpu-alloc: s53528 r8192 d32488 u94208 alloc=23*4096
Feb 18 11:46:51 localhost kernel: [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
Feb 18 11:46:51 localhost kernel: [ 0.000000] Detected VIPT I-cache on CPU0
Feb 18 11:46:51 localhost kernel: [ 0.000000] CPU features: detected: ARM erratum 843419
Feb 18 11:46:51 localhost kernel: [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 478528
Feb 18 11:46:51 localhost kernel: [ 0.000000] Kernel command line: console=ttyAML0,115200 root=/dev/mmcblk1p2 rootwait rootflags=data=writeback rw slub_debug=P page_poison=1 slab_nomerge
Feb 18 11:46:51 localhost kernel: [ 0.000000] Dentry cache hash table entries: 262144 (order: 9, 2097152 bytes)
Feb 18 11:46:51 localhost kernel: [ 0.000000] Inode-cache hash table entries: 131072 (order: 8, 1048576 bytes)
Feb 18 11:46:51 localhost kernel: [ 0.000000] Memory: 1626632K/1944576K available (9150K kernel code, 650K rwdata, 2288K rodata, 448K init, 1101K bss, 55800K reserved, 262144K cma-reserved)
Feb 18 11:46:51 localhost kernel: [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
Feb 18 11:46:51 localhost kernel: [ 0.000000] rcu: Hierarchical RCU implementation.
Feb 18 11:46:51 localhost kernel: [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
Feb 18 11:46:51 localhost kernel: [ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
Feb 18 11:46:51 localhost kernel: [ 0.000000] GIC: Using split EOI/Deactivate mode
Feb 18 11:46:51 localhost kernel: [ 0.000000] irq_meson_gpio: 133 to 8 gpio interrupt mux initialized
Feb 18 11:46:51 localhost kernel: [ 0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
Feb 18 11:46:51 localhost kernel: [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns: 440795202592 ns
Feb 18 11:46:51 localhost kernel: [ 0.000002] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 4398046511097ns
Feb 18 11:46:51 localhost kernel: [ 0.000234] Console: colour dummy device 80x25
Feb 18 11:46:51 localhost kernel: [ 0.000263] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
Feb 18 11:46:51 localhost kernel: [ 0.000269] pid_max: default: 32768 minimum: 301
Feb 18 11:46:51 localhost kernel: [ 0.000396] LSM: Security Framework initializing
Feb 18 11:46:51 localhost kernel: [ 0.000524] AppArmor: AppArmor initialized
Feb 18 11:46:51 localhost kernel: [ 0.000578] Mount-cache hash table entries: 4096 (order: 3, 32768 bytes)
Feb 18 11:46:51 localhost kernel: [ 0.000584] Mountpoint-cache hash table entries: 4096 (order: 3, 32768 bytes)
Feb 18 11:46:51 localhost kernel: [ 0.001754] ASID allocator initialised with 65536 entries
Feb 18 11:46:51 localhost kernel: [ 0.001813] rcu: Hierarchical SRCU implementation.
Feb 18 11:46:51 localhost kernel: [ 0.002276] smp: Bringing up secondary CPUs ...
Feb 18 11:46:51 localhost kernel: [ 0.003175] Detected VIPT I-cache on CPU1
Feb 18 11:46:51 localhost kernel: [ 0.003218] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
Feb 18 11:46:51 localhost kernel: [ 0.004126] Detected VIPT I-cache on CPU2
Feb 18 11:46:51 localhost kernel: [ 0.004146] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
Feb 18 11:46:51 localhost kernel: [ 0.005043] Detected VIPT I-cache on CPU3
Feb 18 11:46:51 localhost kernel: [ 0.005060] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
Feb 18 11:46:51 localhost kernel: [ 0.005101] smp: Brought up 1 node, 4 CPUs
Feb 18 11:46:51 localhost kernel: [ 0.005111] SMP: Total of 4 processors activated.
Feb 18 11:46:51 localhost kernel: [ 0.005116] CPU features: detected: 32-bit EL0 Support
Feb 18 11:46:51 localhost kernel: [ 0.005120] CPU features: detected: CRC32 instructions
Feb 18 11:46:51 localhost kernel: [ 0.005243] CPU: All CPU(s) started at EL2
Feb 18 11:46:51 localhost kernel: [ 0.005256] alternatives: patching kernel code
Feb 18 11:46:51 localhost kernel: [ 0.006007] devtmpfs: initialized
Feb 18 11:46:51 localhost kernel: [ 0.011312] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
Feb 18 11:46:51 localhost kernel: [ 0.011331] futex hash table entries: 1024 (order: 4, 65536 bytes)
Feb 18 11:46:51 localhost kernel: [ 0.089849] xor: measuring software checksum speed
Feb 18 11:46:51 localhost kernel: [ 0.128135] 8regs : 2947.000 MB/sec
Feb 18 11:46:51 localhost kernel: [ 0.168158] 32regs : 3491.000 MB/sec
Feb 18 11:46:51 localhost kernel: [ 0.208182] arm64_neon: 3199.000 MB/sec
Feb 18 11:46:51 localhost kernel: [ 0.208185] xor: using function: 32regs (3491.000 MB/sec)
Feb 18 11:46:51 localhost kernel: [ 0.208198] pinctrl core: initialized pinctrl subsystem
Feb 18 11:46:51 localhost kernel: [ 0.209125] NET: Registered protocol family 16
Feb 18 11:46:51 localhost kernel: [ 0.209433] audit: initializing netlink subsys (disabled)
Feb 18 11:46:51 localhost kernel: [ 0.209584] audit: type=2000 audit(0.208:1): state=initialized audit_enabled=0 res=1
Feb 18 11:46:51 localhost kernel: [ 0.210114] vdso: 2 pages (1 code @ (____ptrval____), 1 data @ (____ptrval____))
Feb 18 11:46:51 localhost kernel: [ 0.210120] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
Feb 18 11:46:51 localhost kernel: [ 0.212724] DMA: preallocated 256 KiB pool for atomic allocations
Feb 18 11:46:51 localhost kernel: [ 0.212765] Serial: AMBA PL011 UART driver
Feb 18 11:46:51 localhost kernel: [ 0.221791] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
Feb 18 11:46:51 localhost kernel: [ 0.221800] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
Feb 18 11:46:51 localhost kernel: [ 0.221804] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
Feb 18 11:46:51 localhost kernel: [ 0.221808] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
Feb 18 11:46:51 localhost kernel: [ 0.288280] raid6: neonx8 gen() 2048 MB/s
Feb 18 11:46:51 localhost kernel: [ 0.356338] raid6: neonx8 xor() 1940 MB/s
Feb 18 11:46:51 localhost kernel: [ 0.424401] raid6: neonx4 gen() 1942 MB/s
Feb 18 11:46:51 localhost kernel: [ 0.492441] raid6: neonx4 xor() 1862 MB/s
Feb 18 11:46:51 localhost kernel: [ 0.560515] raid6: neonx2 gen() 1496 MB/s
Feb 18 11:46:51 localhost kernel: [ 0.628532] raid6: neonx2 xor() 1559 MB/s
Feb 18 11:46:51 localhost kernel: [ 0.696638] raid6: neonx1 gen() 934 MB/s
Feb 18 11:46:51 localhost kernel: [ 0.764632] raid6: neonx1 xor() 1103 MB/s
Feb 18 11:46:51 localhost kernel: [ 0.832724] raid6: int64x8 gen() 1414 MB/s
Feb 18 11:46:51 localhost kernel: [ 0.900746] raid6: int64x8 xor() 937 MB/s
Feb 18 11:46:51 localhost kernel: [ 0.968806] raid6: int64x4 gen() 1268 MB/s
Feb 18 11:46:51 localhost kernel: [ 1.036858] raid6: int64x4 xor() 976 MB/s
Feb 18 11:46:51 localhost kernel: [ 1.104923] raid6: int64x2 gen() 844 MB/s
Feb 18 11:46:51 localhost kernel: [ 1.172978] raid6: int64x2 xor() 769 MB/s
Feb 18 11:46:51 localhost kernel: [ 1.241028] raid6: int64x1 gen() 531 MB/s
Feb 18 11:46:51 localhost kernel: [ 1.309057] raid6: int64x1 xor() 575 MB/s
Feb 18 11:46:51 localhost kernel: [ 1.309060] raid6: using algorithm neonx8 gen() 2048 MB/s
Feb 18 11:46:51 localhost kernel: [ 1.309063] raid6: .... xor() 1940 MB/s, rmw enabled
Feb 18 11:46:51 localhost kernel: [ 1.309066] raid6: using neon recovery algorithm
Feb 18 11:46:51 localhost kernel: [ 1.310471] SCSI subsystem initialized
Feb 18 11:46:51 localhost kernel: [ 1.310655] libata version 3.00 loaded.
Feb 18 11:46:51 localhost kernel: [ 1.310803] usbcore: registered new interface driver usbfs
Feb 18 11:46:51 localhost kernel: [ 1.310834] usbcore: registered new interface driver hub
Feb 18 11:46:51 localhost kernel: [ 1.310874] usbcore: registered new device driver usb
Feb 18 11:46:51 localhost kernel: [ 1.310960] pps_core: LinuxPPS API ver. 1 registered
Feb 18 11:46:51 localhost kernel: [ 1.310964] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
Feb 18 11:46:51 localhost kernel: [ 1.310980] PTP clock support registered
Feb 18 11:46:51 localhost kernel: [ 1.311350] Advanced Linux Sound Architecture Driver Initialized.
Feb 18 11:46:51 localhost kernel: [ 1.311729] NetLabel: Initializing
Feb 18 11:46:51 localhost kernel: [ 1.311733] NetLabel: domain hash size = 128
Feb 18 11:46:51 localhost kernel: [ 1.311735] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
Feb 18 11:46:51 localhost kernel: [ 1.311807] NetLabel: unlabeled traffic allowed by default
Feb 18 11:46:51 localhost kernel: [ 1.312093] clocksource: Switched to clocksource arch_sys_counter
Feb 18 11:46:51 localhost kernel: [ 1.312218] VFS: Disk quotas dquot_6.6.0
Feb 18 11:46:51 localhost kernel: [ 1.312266] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
Feb 18 11:46:51 localhost kernel: [ 1.312352] FS-Cache: Loaded
Feb 18 11:46:51 localhost kernel: [ 1.312559] CacheFiles: Loaded
Feb 18 11:46:51 localhost kernel: [ 1.312878] AppArmor: AppArmor Filesystem Enabled
Feb 18 11:46:51 localhost kernel: [ 1.317898] NET: Registered protocol family 2
Feb 18 11:46:51 localhost kernel: [ 1.318383] tcp_listen_portaddr_hash hash table entries: 1024 (order: 2, 16384 bytes)
Feb 18 11:46:51 localhost kernel: [ 1.318412] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
Feb 18 11:46:51 localhost kernel: [ 1.318498] TCP bind hash table entries: 16384 (order: 6, 262144 bytes)
Feb 18 11:46:51 localhost kernel: [ 1.318667] TCP: Hash tables configured (established 16384 bind 16384)
Feb 18 11:46:51 localhost kernel: [ 1.318750] UDP hash table entries: 1024 (order: 3, 32768 bytes)
Feb 18 11:46:51 localhost kernel: [ 1.318787] UDP-Lite hash table entries: 1024 (order: 3, 32768 bytes)
Feb 18 11:46:51 localhost kernel: [ 1.318959] NET: Registered protocol family 1
Feb 18 11:46:51 localhost kernel: [ 1.319677] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
Feb 18 11:46:51 localhost kernel: [ 1.319894] kvm [1]: 8-bit VMID
Feb 18 11:46:51 localhost kernel: [ 1.319898] kvm [1]: IPA Size Limit: 40bits
Feb 18 11:46:51 localhost kernel: [ 1.320202] kvm [1]: vgic interrupt IRQ1
Feb 18 11:46:51 localhost kernel: [ 1.320282] kvm [1]: Hyp mode initialized successfully
Feb 18 11:46:51 localhost kernel: [ 1.321223] Initialise system trusted keyrings
Feb 18 11:46:51 localhost kernel: [ 1.321384] workingset: timestamp_bits=46 max_order=19 bucket_order=0
Feb 18 11:46:51 localhost kernel: [ 1.334565] Key type asymmetric registered
Feb 18 11:46:51 localhost kernel: [ 1.334575] Asymmetric key parser 'x509' registered
Feb 18 11:46:51 localhost kernel: [ 1.334631] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
Feb 18 11:46:51 localhost kernel: [ 1.334739] io scheduler mq-deadline registered
Feb 18 11:46:51 localhost kernel: [ 1.334743] io scheduler kyber registered
Feb 18 11:46:51 localhost kernel: [ 1.335948] GPIO line 501 (usb-hub-reset) hogged as output/high
Feb 18 11:46:51 localhost kernel: [ 1.344357] meson_vid_pll_div_recalc_rate: Invalid config value for vid_pll_div
Feb 18 11:46:51 localhost kernel: [ 1.346340] soc soc0: Amlogic Meson GXBB (S905) Revision 1f:c (0:1) Detected
Feb 18 11:46:51 localhost kernel: [ 1.347424] c81004c0.serial: ttyAML0 at MMIO 0xc81004c0 (irq = 13, base_baud = 1500000) is a meson_uart
Feb 18 11:46:51 localhost kernel: [ 2.072919] printk: console [ttyAML0] enabled
Feb 18 11:46:51 localhost kernel: [ 2.084602] loop: module loaded
Feb 18 11:46:51 localhost kernel: [ 2.084960] zram: Added device: zram0
Feb 18 11:46:51 localhost kernel: [ 2.086244] mtdoops: mtd device (mtddev=name/number) must be supplied
Feb 18 11:46:51 localhost kernel: [ 2.092460] libphy: Fixed MDIO Bus: probed
Feb 18 11:46:51 localhost kernel: [ 2.096253] tun: Universal TUN/TAP device driver, 1.6
Feb 18 11:46:51 localhost kernel: [ 2.101949] meson8b-dwmac c9410000.ethernet: PTP uses main clock
Feb 18 11:46:51 localhost kernel: [ 2.107147] meson8b-dwmac c9410000.ethernet: no reset control found
Feb 18 11:46:51 localhost kernel: [ 2.113763] meson8b-dwmac c9410000.ethernet: User ID: 0x11, Synopsys ID: 0x37
Feb 18 11:46:51 localhost kernel: [ 2.120427] meson8b-dwmac c9410000.ethernet: DWMAC1000
Feb 18 11:46:51 localhost kernel: [ 2.125597] meson8b-dwmac c9410000.ethernet: DMA HW capability register supported
Feb 18 11:46:51 localhost kernel: [ 2.133013] meson8b-dwmac c9410000.ethernet: RX Checksum Offload Engine supported
Feb 18 11:46:51 localhost kernel: [ 2.140430] meson8b-dwmac c9410000.ethernet: COE Type 2
Feb 18 11:46:51 localhost kernel: [ 2.145605] meson8b-dwmac c9410000.ethernet: TX Checksum insertion supported
Feb 18 11:46:51 localhost kernel: [ 2.152590] meson8b-dwmac c9410000.ethernet: Wake-Up On Lan supported
Feb 18 11:46:51 localhost kernel: [ 2.159001] meson8b-dwmac c9410000.ethernet: Normal descriptors
Feb 18 11:46:51 localhost kernel: [ 2.164840] meson8b-dwmac c9410000.ethernet: Ring mode enabled
Feb 18 11:46:51 localhost kernel: [ 2.170617] meson8b-dwmac c9410000.ethernet: Enable RX Mitigation via HW Watchdog Timer
Feb 18 11:46:51 localhost kernel: [ 3.232114] libphy: stmmac: probed
Feb 18 11:46:51 localhost kernel: [ 3.233792] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Feb 18 11:46:51 localhost kernel: [ 3.236364] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Feb 18 11:46:51 localhost kernel: [ 3.242549] usbcore: registered new interface driver usb-storage
Feb 18 11:46:51 localhost kernel: [ 3.248500] usbcore: registered new interface driver usbserial_generic
Feb 18 11:46:51 localhost kernel: [ 3.254921] usbserial: USB Serial support registered for generic
Feb 18 11:46:51 localhost kernel: [ 3.261073] mousedev: PS/2 mouse device common for all mice
Feb 18 11:46:51 localhost kernel: [ 3.266541] i2c /dev entries driver
Feb 18 11:46:51 localhost kernel: [ 3.270425] IR Sharp protocol handler initialized
Feb 18 11:46:51 localhost kernel: [ 3.274485] IR XMP protocol handler initialized
Feb 18 11:46:51 localhost kernel: [ 3.279110] Registered IR keymap rc-empty
Feb 18 11:46:51 localhost kernel: [ 3.282980] rc rc0: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0
Feb 18 11:46:51 localhost kernel: [ 3.290940] input: meson-ir as /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0/input0
Feb 18 11:46:51 localhost kernel: [ 3.299277] meson-ir c8100580.ir: receiver initialized
Feb 18 11:46:51 localhost kernel: [ 3.304652] softdog: initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)
Feb 18 11:46:51 localhost kernel: [ 3.313334] meson-gx-mmc d0074000.mmc: Linked as a consumer to regulator.2
Feb 18 11:46:51 localhost kernel: [ 3.319326] meson-gx-mmc d0074000.mmc: Linked as a consumer to regulator.1
Feb 18 11:46:51 localhost kernel: [ 3.326101] meson-gx-mmc d0074000.mmc: allocated mmc-pwrseq
Feb 18 11:46:51 localhost kernel: [ 3.359935] ledtrig-cpu: registered to indicate activity on CPUs
Feb 18 11:46:51 localhost kernel: [ 3.360577] meson-sm: secure-monitor enabled
Feb 18 11:46:51 localhost kernel: [ 3.364943] usbcore: registered new interface driver usbhid
Feb 18 11:46:51 localhost kernel: [ 3.370121] usbhid: USB HID core driver
Feb 18 11:46:51 localhost kernel: [ 3.374139] meson-saradc c1108680.adc: Linked as a consumer to regulator.1
Feb 18 11:46:51 localhost kernel: [ 3.382165] GACT probability on
Feb 18 11:46:51 localhost kernel: [ 3.383808] Mirror/redirect action on
Feb 18 11:46:51 localhost kernel: [ 3.387470] u32 classifier
Feb 18 11:46:51 localhost kernel: [ 3.390060] Performance counters on
Feb 18 11:46:51 localhost kernel: [ 3.393848] input device check on
Feb 18 11:46:51 localhost kernel: [ 3.397471] Actions configured
Feb 18 11:46:51 localhost kernel: [ 3.401436] NET: Registered protocol family 10
Feb 18 11:46:51 localhost kernel: [ 3.406348] Segment Routing with IPv6
Feb 18 11:46:51 localhost kernel: [ 3.409084] mip6: Mobile IPv6
Feb 18 11:46:51 localhost kernel: [ 3.411784] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
Feb 18 11:46:51 localhost kernel: [ 3.418417] NET: Registered protocol family 17
Feb 18 11:46:51 localhost kernel: [ 3.422075] NET: Registered protocol family 15
Feb 18 11:46:51 localhost kernel: [ 3.426552] Bridge firewalling registered
Feb 18 11:46:51 localhost kernel: [ 3.430445] NET: Registered protocol family 35
Feb 18 11:46:51 localhost kernel: [ 3.434965] 8021q: 802.1Q VLAN Support v1.8
Feb 18 11:46:51 localhost kernel: [ 3.438999] Key type dns_resolver registered
Feb 18 11:46:51 localhost kernel: [ 3.443787] registered taskstats version 1
Feb 18 11:46:51 localhost kernel: [ 3.447241] Loading compiled-in X.509 certificates
Feb 18 11:46:51 localhost kernel: [ 3.453393] Btrfs loaded, crc32c=crc32c-generic
Feb 18 11:46:51 localhost kernel: [ 3.456524] AppArmor: AppArmor sha1 policy hashing enabled
Feb 18 11:46:51 localhost kernel: [ 3.471968] phy phy-c0000000.phy.0: Linked as a consumer to regulator.3
Feb 18 11:46:51 localhost kernel: [ 3.473181] phy phy-c0000020.phy.1: Linked as a consumer to regulator.3
Feb 18 11:46:51 localhost kernel: [ 3.479822] meson-drm d0100000.vpu: Queued 2 outputs on vpu
Feb 18 11:46:51 localhost kernel: [ 3.485215] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Feb 18 11:46:51 localhost kernel: [ 3.491563] [drm] No driver support for vblank timestamp query.
Feb 18 11:46:51 localhost kernel: [ 3.497510] meson-drm d0100000.vpu: CVBS Output connector not available
Feb 18 11:46:51 localhost kernel: [ 3.532126] meson-dw-hdmi c883a000.hdmi-tx: Detected HDMI TX controller v2.01a with HDCP (meson_dw_hdmi_phy)
Feb 18 11:46:51 localhost kernel: [ 3.536599] meson-dw-hdmi c883a000.hdmi-tx: registered DesignWare HDMI I2C bus driver
Feb 18 11:46:51 localhost kernel: [ 3.544281] meson-drm d0100000.vpu: bound c883a000.hdmi-tx (ops 0xffffff8010a01668)
Feb 18 11:46:51 localhost kernel: [ 3.551960] [drm] Initialized meson 1.0.0 20161109 for d0100000.vpu on minor 0
Feb 18 11:46:51 localhost kernel: [ 3.558842] [drm] Cannot find any crtc or sizes
Feb 18 11:46:51 localhost kernel: [ 3.563528] dwc2 c9000000.usb: c9000000.usb supply vusb_d not found, using dummy regulator
Feb 18 11:46:51 localhost kernel: [ 3.571511] dwc2 c9000000.usb: Linked as a consumer to regulator.0
Feb 18 11:46:51 localhost kernel: [ 3.577601] dwc2 c9000000.usb: c9000000.usb supply vusb_a not found, using dummy regulator
Feb 18 11:46:51 localhost kernel: [ 3.585911] [drm] Cannot find any crtc or sizes
Feb 18 11:46:51 localhost kernel: [ 3.591361] phy phy-c0000000.phy.0: USB ID detect failed!
Feb 18 11:46:51 localhost kernel: [ 3.595627] phy phy-c0000000.phy.0: phy poweron failed --> -22
Feb 18 11:46:51 localhost kernel: [ 3.601446] WARNING: CPU: 1 PID: 31 at _regulator_put.part.12+0x118/0x120
Feb 18 11:46:51 localhost kernel: [ 3.608124] Modules linked in:
Feb 18 11:46:51 localhost kernel: [ 3.611146] CPU: 1 PID: 31 Comm: kworker/1:1 Not tainted 5.0.0-rc7+ #1
Feb 18 11:46:51 localhost kernel: [ 3.617611] Hardware name: Hardkernel ODROID-C2 (DT)
Feb 18 11:46:51 localhost kernel: [ 3.622535] Workqueue: events deferred_probe_work_func
Feb 18 11:46:51 localhost kernel: [ 3.627617] pstate: 80000005 (Nzcv daif -PAN -UAO)
Feb 18 11:46:51 localhost kernel: [ 3.632361] pc : _regulator_put.part.12+0x118/0x120
Feb 18 11:46:51 localhost kernel: [ 3.637190] lr : regulator_put+0x34/0x50
Feb 18 11:46:51 localhost kernel: [ 3.641071] sp : ffffff8010ea3a90
Feb 18 11:46:51 localhost kernel: [ 3.644348] x29: ffffff8010ea3a90 x28: ffffffc064ce77a8
Feb 18 11:46:51 localhost kernel: [ 3.649609] x27: ffffffc064ce77a8 x26: ffffff80105c6248
Feb 18 11:46:51 localhost kernel: [ 3.654871] x25: ffffff80105c6250 x24: 0000000000000009
Feb 18 11:46:51 localhost kernel: [ 3.660132] x23: ffffffc064ce7510 x22: ffffff8010ea3b88
Feb 18 11:46:51 localhost kernel: [ 3.665393] x21: 0000000000000000 x20: ffffffc064b40600
Feb 18 11:46:51 localhost kernel: [ 3.670654] x19: ffffffc064b40600 x18: ffffffffffffffff
Feb 18 11:46:51 localhost kernel: [ 3.675915] x17: 000000001d2524e2 x16: 000000005fbbb809
Feb 18 11:46:51 localhost kernel: [ 3.681177] x15: ffffff8010c3c648 x14: ffffff8090ea3787
Feb 18 11:46:51 localhost kernel: [ 3.686438] x13: ff00000000000000 x12: ffffffffffffffff
Feb 18 11:46:51 localhost kernel: [ 3.691699] x11: 0000000000000038 x10: 0000000000000006
Feb 18 11:46:51 localhost kernel: [ 3.696960] x9 : 0000000000000040 x8 : ffffffc064b40b7f
Feb 18 11:46:51 localhost kernel: [ 3.702222] x7 : 6b6b6b6b6b6b6b6b x6 : 0000000000000000
Feb 18 11:46:51 localhost kernel: [ 3.707483] x5 : 0000000000000000 x4 : 0000000000000000
Feb 18 11:46:51 localhost kernel: [ 3.712744] x3 : 0000000000000000 x2 : 0000000000000000
Feb 18 11:46:51 localhost kernel: [ 3.718005] x1 : ffffffc064c67000 x0 : 0000000000000001
Feb 18 11:46:51 localhost kernel: [ 3.723267] Call trace:
Feb 18 11:46:51 localhost kernel: [ 3.725684] _regulator_put.part.12+0x118/0x120
Feb 18 11:46:51 localhost kernel: [ 3.730168] regulator_put+0x34/0x50
Feb 18 11:46:51 localhost kernel: [ 3.733705] regulator_bulk_free+0x34/0x50
Feb 18 11:46:51 localhost kernel: [ 3.737759] devm_regulator_bulk_release+0x18/0x20
Feb 18 11:46:51 localhost kernel: [ 3.742503] release_nodes+0x17c/0x2f8
Feb 18 11:46:51 localhost kernel: [ 3.746211] devres_release_all+0x58/0x88
Feb 18 11:46:51 localhost kernel: [ 3.750178] really_probe+0xc4/0x2c0
Feb 18 11:46:51 localhost kernel: [ 3.753714] driver_probe_device+0x58/0x100
Feb 18 11:46:51 localhost kernel: [ 3.757854] __device_attach_driver+0x9c/0xf8
Feb 18 11:46:51 localhost kernel: [ 3.762168] bus_for_each_drv+0x70/0xc8
Feb 18 11:46:51 localhost kernel: [ 3.765961] __device_attach+0xe0/0x140
Feb 18 11:46:51 localhost kernel: [ 3.769757] device_initial_probe+0x10/0x18
Feb 18 11:46:51 localhost kernel: [ 3.773896] bus_probe_device+0x94/0xa0
Feb 18 11:46:51 localhost kernel: [ 3.777692] deferred_probe_work_func+0x80/0xb8
Feb 18 11:46:51 localhost kernel: [ 3.782179] process_one_work+0x1b0/0x348
Feb 18 11:46:51 localhost kernel: [ 3.786144] worker_thread+0x224/0x448
Feb 18 11:46:51 localhost kernel: [ 3.789854] kthread+0xf8/0x128
Feb 18 11:46:51 localhost kernel: [ 3.792959] ret_from_fork+0x10/0x1c
Feb 18 11:46:51 localhost kernel: [ 3.796494] ---[ end trace 24c7cc78b2f976b6 ]---
Feb 18 11:46:51 localhost kernel: [ 3.801132] WARNING: CPU: 1 PID: 31 at _regulator_put.part.12+0x118/0x120
Feb 18 11:46:51 localhost kernel: [ 3.807792] Modules linked in:
Feb 18 11:46:51 localhost kernel: [ 3.810813] CPU: 1 PID: 31 Comm: kworker/1:1 Tainted: G W 5.0.0-rc7+ #1
Feb 18 11:46:51 localhost kernel: [ 3.818659] Hardware name: Hardkernel ODROID-C2 (DT)
Feb 18 11:46:51 localhost kernel: [ 3.823578] Workqueue: events deferred_probe_work_func
Feb 18 11:46:51 localhost kernel: [ 3.828665] pstate: 80000005 (Nzcv daif -PAN -UAO)
Feb 18 11:46:51 localhost kernel: [ 3.833409] pc : _regulator_put.part.12+0x118/0x120
Feb 18 11:46:51 localhost kernel: [ 3.838239] lr : regulator_put+0x34/0x50
Feb 18 11:46:51 localhost kernel: [ 3.842119] sp : ffffff8010ea3a90
Feb 18 11:46:51 localhost kernel: [ 3.845397] x29: ffffff8010ea3a90 x28: ffffffc064ce77a8
Feb 18 11:46:51 localhost kernel: [ 3.850658] x27: ffffffc064ce77a8 x26: ffffff80105c6248
Feb 18 11:46:51 localhost kernel: [ 3.855919] x25: ffffff80105c6250 x24: 0000000000000009
Feb 18 11:46:51 localhost kernel: [ 3.861180] x23: ffffffc064ce7510 x22: ffffff8010ea3b88
Feb 18 11:46:51 localhost kernel: [ 3.866442] x21: 0000000000000000 x20: ffffffc064b40d80
Feb 18 11:46:51 localhost kernel: [ 3.871703] x19: ffffffc064b40d80 x18: 000000000000003a
Feb 18 11:46:51 localhost kernel: [ 3.876964] x17: 000000001d2524e2 x16: 000000005fbbb809
Feb 18 11:46:51 localhost kernel: [ 3.882226] x15: ffffff8010c3c648 x14: ffffffc005335e10
Feb 18 11:46:51 localhost kernel: [ 3.887487] x13: ffffffc06510a1e8 x12: 0000000000000000
Feb 18 11:46:51 localhost kernel: [ 3.892748] x11: ffffffc065109ff0 x10: 0000000000000000
Feb 18 11:46:51 localhost kernel: [ 3.898009] x9 : 0000000000000040 x8 : ffffffc064b406ff
Feb 18 11:46:51 localhost kernel: [ 3.903270] x7 : 6b6b6b6b6b6b6b6b x6 : 0000000000000000
Feb 18 11:46:51 localhost kernel: [ 3.908532] x5 : 0000000000000000 x4 : 0000000000000000
Feb 18 11:46:51 localhost kernel: [ 3.913793] x3 : 0000000000000000 x2 : 0000000000000000
Feb 18 11:46:51 localhost kernel: [ 3.919054] x1 : ffffffc064c67000 x0 : 0000000000000001
Feb 18 11:46:51 localhost kernel: [ 3.924315] Call trace:
Feb 18 11:46:51 localhost kernel: [ 3.926732] _regulator_put.part.12+0x118/0x120
Feb 18 11:46:51 localhost kernel: [ 3.931217] regulator_put+0x34/0x50
Feb 18 11:46:51 localhost kernel: [ 3.934753] regulator_bulk_free+0x34/0x50
Feb 18 11:46:51 localhost kernel: [ 3.938807] devm_regulator_bulk_release+0x18/0x20
Feb 18 11:46:51 localhost kernel: [ 3.943551] release_nodes+0x17c/0x2f8
Feb 18 11:46:51 localhost kernel: [ 3.947260] devres_release_all+0x58/0x88
Feb 18 11:46:51 localhost kernel: [ 3.951226] really_probe+0xc4/0x2c0
Feb 18 11:46:51 localhost kernel: [ 3.954763] driver_probe_device+0x58/0x100
Feb 18 11:46:51 localhost kernel: [ 3.958903] __device_attach_driver+0x9c/0xf8
Feb 18 11:46:51 localhost kernel: [ 3.963216] bus_for_each_drv+0x70/0xc8
Feb 18 11:46:51 localhost kernel: [ 3.967010] __device_attach+0xe0/0x140
Feb 18 11:46:51 localhost kernel: [ 3.970805] device_initial_probe+0x10/0x18
Feb 18 11:46:51 localhost kernel: [ 3.974945] bus_probe_device+0x94/0xa0
Feb 18 11:46:51 localhost kernel: [ 3.978740] deferred_probe_work_func+0x80/0xb8
Feb 18 11:46:51 localhost kernel: [ 3.983226] process_one_work+0x1b0/0x348
Feb 18 11:46:51 localhost kernel: [ 3.987193] worker_thread+0x224/0x448
Feb 18 11:46:51 localhost kernel: [ 3.990901] kthread+0xf8/0x128
Feb 18 11:46:51 localhost kernel: [ 3.994007] ret_from_fork+0x10/0x1c
Feb 18 11:46:51 localhost kernel: [ 3.997542] ---[ end trace 24c7cc78b2f976b7 ]---
Feb 18 11:46:51 localhost kernel: [ 4.002169] dwc2: probe of c9000000.usb failed with error -22
Feb 18 11:46:51 localhost kernel: [ 4.008026] dwc2 c9100000.usb: c9100000.usb supply vusb_d not found, using dummy regulator
Feb 18 11:46:51 localhost kernel: [ 4.016047] dwc2 c9100000.usb: Linked as a consumer to regulator.0
Feb 18 11:46:51 localhost kernel: [ 4.022134] dwc2 c9100000.usb: c9100000.usb supply vusb_a not found, using dummy regulator
Feb 18 11:46:51 localhost kernel: [ 4.088105] dwc2 c9100000.usb: dwc2_check_params: Invalid parameter lpm=1
Feb 18 11:46:51 localhost kernel: [ 4.089237] dwc2 c9100000.usb: dwc2_check_params: Invalid parameter lpm_clock_gating=1
Feb 18 11:46:51 localhost kernel: [ 4.097093] dwc2 c9100000.usb: dwc2_check_params: Invalid parameter besl=1
Feb 18 11:46:51 localhost kernel: [ 4.103904] dwc2 c9100000.usb: dwc2_check_params: Invalid parameter hird_threshold_en=1
Feb 18 11:46:51 localhost kernel: [ 4.112771] dwc2 c9100000.usb: DWC OTG Controller
Feb 18 11:46:51 localhost kernel: [ 4.116515] dwc2 c9100000.usb: new USB bus registered, assigned bus number 1
Feb 18 11:46:51 localhost kernel: [ 4.123501] dwc2 c9100000.usb: irq 34, io mem 0xc9100000
Feb 18 11:46:51 localhost kernel: [ 4.129298] hub 1-0:1.0: USB hub found
Feb 18 11:46:51 localhost kernel: [ 4.132476] hub 1-0:1.0: 1 port detected
Feb 18 11:46:51 localhost kernel: [ 4.137026] meson-gx-mmc d0072000.mmc: Linked as a consumer to regulator.4
Feb 18 11:46:51 localhost kernel: [ 4.143186] meson-gx-mmc d0072000.mmc: Linked as a consumer to regulator.5
Feb 18 11:46:51 localhost kernel: [ 4.150005] meson-gx-mmc d0072000.mmc: Got CD GPIO
Feb 18 11:46:51 localhost kernel: [ 4.183006] hctosys: unable to open rtc device (rtc0)
Feb 18 11:46:51 localhost kernel: [ 4.183222] VCC3V3: disabling
Feb 18 11:46:51 localhost kernel: [ 4.185377] ALSA device list:
Feb 18 11:46:51 localhost kernel: [ 4.188289] No soundcards found.
Feb 18 11:46:51 localhost kernel: [ 4.197437] Waiting for root device /dev/mmcblk1p2...
Feb 18 11:46:51 localhost kernel: [ 4.262003] mmc1: new high speed SDHC card at address 0007
Feb 18 11:46:51 localhost kernel: [ 4.263999] mmcblk1: mmc1:0007 SL16G 14.5 GiB
Feb 18 11:46:51 localhost kernel: [ 4.267797] mmcblk1: p1 p2
Feb 18 11:46:51 localhost kernel: [ 4.277852] EXT4-fs (mmcblk1p2): Mount option "data=writeback" incompatible with ext2
Feb 18 11:46:51 localhost kernel: [ 4.334315] EXT4-fs (mmcblk1p2): mounted filesystem with writeback data mode. Opts: data=writeback
Feb 18 11:46:51 localhost kernel: [ 4.337667] VFS: Mounted root (ext4 filesystem) on device 179:2.
Feb 18 11:46:51 localhost kernel: [ 4.351271] devtmpfs: mounted
Feb 18 11:46:51 localhost kernel: [ 4.351572] Freeing unused kernel memory: 448K
Feb 18 11:46:51 localhost kernel: [ 4.365622] Checked W+X mappings: passed, no W+X pages found
Feb 18 11:46:51 localhost kernel: [ 4.365654] Run /sbin/init as init process
Feb 18 11:46:51 localhost kernel: [ 4.532108] usb 1-1: new high-speed USB device number 2 using dwc2
Feb 18 11:46:51 localhost kernel: [ 4.658829] random: fast init done
Feb 18 11:46:51 localhost kernel: [ 4.746005] hub 1-1:1.0: USB hub found
Feb 18 11:46:51 localhost kernel: [ 4.746306] hub 1-1:1.0: 4 ports detected
Feb 18 11:46:51 localhost kernel: [ 5.036118] usb 1-1.1: new high-speed USB device number 3 using dwc2
Feb 18 11:46:51 localhost kernel: [ 5.039979] random: systemd: uninitialized urandom read (16 bytes read)
Feb 18 11:46:51 localhost kernel: [ 5.058891] random: systemd: uninitialized urandom read (16 bytes read)
Feb 18 11:46:51 localhost kernel: [ 5.059894] random: systemd: uninitialized urandom read (16 bytes read)
Feb 18 11:46:51 localhost kernel: [ 5.216153] usb 1-1.2: new high-speed USB device number 4 using dwc2
Feb 18 11:46:51 localhost kernel: [ 5.801536] RPC: Registered named UNIX socket transport module.
Feb 18 11:46:51 localhost kernel: [ 5.801807] RPC: Registered udp transport module.
Feb 18 11:46:51 localhost kernel: [ 5.806494] RPC: Registered tcp transport module.
Feb 18 11:46:51 localhost kernel: [ 5.811150] RPC: Registered tcp NFSv4.1 backchannel transport module.
Feb 18 11:46:51 localhost kernel: [ 6.024862] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
Feb 18 11:46:51 localhost kernel: [ 6.252942] EXT4-fs (mmcblk1p2): re-mounted. Opts: commit=600,errors=remount-ro
Feb 18 11:46:51 localhost kernel: [ 6.418283] random: crng init done
Feb 18 11:46:51 localhost kernel: [ 6.418307] random: 7 urandom warning(s) missed due to ratelimiting
Feb 18 11:46:51 localhost kernel: [ 6.617477] synth uevent: /devices/platform/soc/c8100000.bus/c8100580.ir/rc/rc0/input0: failed to send uevent
Feb 18 11:46:51 localhost kernel: [ 6.617485] input input0: uevent: failed to send synthetic uevent
Feb 18 11:46:51 localhost kernel: [ 6.896620] cfg80211: Loading compiled-in X.509 certificates for regulatory database
Feb 18 11:46:51 localhost kernel: [ 6.906516] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
Feb 18 11:46:51 localhost kernel: [ 6.951852] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
Feb 18 11:46:51 localhost kernel: [ 6.954831] cfg80211: failed to load regulatory.db
Feb 18 11:46:51 localhost kernel: [ 7.192131] usb 1-1.2: reset high-speed USB device number 4 using dwc2
Feb 18 11:46:51 localhost kernel: [ 7.231399] 88XXau: loading out-of-tree module taints kernel.
Feb 18 11:46:51 localhost kernel: [ 7.301805] ieee80211 phy0: rt2x00_set_rt: Info - RT chipset 2872, rev 0202 detected
Feb 18 11:46:51 localhost kernel: [ 7.358349] ieee80211 phy0: rt2x00_set_rf: Info - RF chipset 0001 detected
Feb 18 11:46:51 localhost kernel: [ 7.360121] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
Feb 18 11:46:51 localhost kernel: [ 7.361507] usbcore: registered new interface driver rt2800usb
Feb 18 11:46:51 localhost kernel: [ 7.838102] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
Feb 18 11:46:51 localhost kernel: [ 7.851084] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.36
Feb 18 11:46:51 localhost kernel: [ 8.116152] usb 1-1.1: reset high-speed USB device number 3 using dwc2
Feb 18 11:46:51 localhost kernel: [ 8.208043] zram0: detected capacity change from 0 to 52428800
Feb 18 11:46:51 localhost kernel: [ 8.216588] usb 1-1.1: device firmware changed
Feb 18 11:46:51 localhost kernel: [ 8.217146] usbcore: registered new interface driver rtl88xxau
Feb 18 11:46:51 localhost kernel: [ 8.217797] usb 1-1.1: USB disconnect, device number 3
Feb 18 11:46:51 localhost kernel: [ 8.304167] usb 1-1.1: new high-speed USB device number 5 using dwc2
Feb 18 11:46:51 localhost kernel: [ 8.524535] new mount options do not match the existing superblock, will be ignored
Feb 18 11:46:51 localhost kernel: [ 8.588572] fuse init (API version 7.28)
Feb 18 11:46:51 localhost kernel: [ 8.769188] rtl88xxau 1-1.1:1.0 wlan2: renamed from wlan1
Feb 18 11:46:53 localhost kernel: [ 10.925761] Generic PHY stmmac-0:00: attached PHY driver [Generic PHY] (mii_bus:phy_addr=stmmac-0:00, irq=POLL)
Feb 18 11:46:53 localhost kernel: [ 10.935282] meson8b-dwmac c9410000.ethernet eth0: No Safety Features support found
Feb 18 11:46:53 localhost kernel: [ 10.937821] meson8b-dwmac c9410000.ethernet eth0: PTP not supported by HW
Feb 18 11:46:53 localhost kernel: [ 10.946511] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Feb 18 11:46:53 localhost kernel: [ 10.953817] br-lan: port 1(eth0.3) entered blocking state
Feb 18 11:46:53 localhost kernel: [ 10.958287] br-lan: port 1(eth0.3) entered disabled state
Feb 18 11:46:53 localhost kernel: [ 10.963761] device eth0.3 entered promiscuous mode
Feb 18 11:46:53 localhost kernel: [ 10.970798] device eth0 entered promiscuous mode
Feb 18 11:46:53 localhost kernel: [ 10.976708] br-lan: port 1(eth0.3) entered blocking state
Feb 18 11:46:53 localhost kernel: [ 10.978151] br-lan: port 1(eth0.3) entered forwarding state
Feb 18 11:46:57 localhost kernel: [ 14.806275] br-dmz: port 1(eth0.2) entered blocking state
Feb 18 11:46:57 localhost kernel: [ 14.806311] br-dmz: port 1(eth0.2) entered disabled state
Feb 18 11:46:57 localhost kernel: [ 14.812050] device eth0.2 entered promiscuous mode
Feb 18 11:46:57 localhost kernel: [ 14.823518] br-dmz: port 1(eth0.2) entered blocking state
Feb 18 11:46:57 localhost kernel: [ 14.823556] br-dmz: port 1(eth0.2) entered forwarding state
Feb 18 11:46:58 localhost kernel: [ 15.510373] br-iot: port 1(eth0.5) entered blocking state
Feb 18 11:46:58 localhost kernel: [ 15.510412] br-iot: port 1(eth0.5) entered disabled state
Feb 18 11:46:58 localhost kernel: [ 15.515949] device eth0.5 entered promiscuous mode
Feb 18 11:46:58 localhost kernel: [ 15.527027] br-iot: port 1(eth0.5) entered blocking state
Feb 18 11:46:58 localhost kernel: [ 15.527065] br-iot: port 1(eth0.5) entered forwarding state
Feb 18 11:47:04 localhost kernel: [ 21.506842] input: lircd-uinput as /devices/virtual/input/input1
Feb 18 11:47:04 localhost kernel: [ 21.547599] CIFS: Attempting to mount //10.10.30.136/USBStick
Feb 18 11:47:04 localhost kernel: [ 21.547782] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
Feb 18 11:47:04 localhost kernel: [ 21.548420] CIFS: Attempting to mount //10.10.30.136/Public
Feb 18 11:47:04 localhost kernel: [ 21.548589] CIFS: Attempting to mount //10.10.30.136/Multimedia
Feb 18 11:47:04 localhost kernel: [ 21.548645] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
Feb 18 11:47:04 localhost kernel: [ 21.604538] No dialect specified on mount. Default has changed to a more secure dialect, SMB2.1 or later (e.g. SMB3), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 (or SMB2.1) specify vers=1.0 on mount.
Feb 18 11:47:04 localhost kernel: [ 21.786540] cryptd: max_cpu_qlen set to 1000
Feb 18 11:47:04 localhost kernel: [ 21.999665] input: meson-ir (lircd bypass) as /devices/virtual/input/input2
Feb 18 11:47:05 localhost kernel: [ 22.094842] br-guest: port 1(wlan0) entered blocking state
Feb 18 11:47:05 localhost kernel: [ 22.094885] br-guest: port 1(wlan0) entered disabled state
Feb 18 11:47:05 localhost kernel: [ 22.100490] device wlan0 entered promiscuous mode
Feb 18 11:47:05 localhost kernel: [ 22.360066] br-guest: port 1(wlan0) entered blocking state
Feb 18 11:47:05 localhost kernel: [ 22.360123] br-guest: port 1(wlan0) entered forwarding state
Feb 18 11:47:05 localhost kernel: [ 22.427280] br-lan: port 2(wlan0_1) entered blocking state
Feb 18 11:47:05 localhost kernel: [ 22.427317] br-lan: port 2(wlan0_1) entered disabled state
Feb 18 11:47:05 localhost kernel: [ 22.432906] device wlan0_1 entered promiscuous mode
Feb 18 11:47:05 localhost kernel: [ 22.445448] br-lan: port 2(wlan0_1) entered blocking state
Feb 18 11:47:05 localhost kernel: [ 22.447573] br-lan: port 2(wlan0_1) entered forwarding state
Feb 18 11:47:06 localhost kernel: [ 23.395620] br-lan: port 3(wlan2) entered blocking state
Feb 18 11:47:06 localhost kernel: [ 23.395650] br-lan: port 3(wlan2) entered disabled state
Feb 18 11:47:06 localhost kernel: [ 23.400925] device wlan2 entered promiscuous mode
Feb 18 11:47:06 localhost kernel: [ 23.405405] br-lan: port 3(wlan2) entered blocking state
Feb 18 11:47:06 localhost kernel: [ 23.410492] br-lan: port 3(wlan2) entered forwarding state
Feb 18 11:47:06 localhost kernel: [ 23.670879] ip_local_port_range: prefer different parity for start/end values.
Feb 18 11:47:55 localhost kernel: [ 42.556330] lxcbr0: port 1(veth9EM448) entered blocking state
Feb 18 11:47:55 localhost kernel: [ 42.556436] lxcbr0: port 1(veth9EM448) entered disabled state
Feb 18 11:47:55 localhost kernel: [ 42.562513] device veth9EM448 entered promiscuous mode
Feb 18 11:47:55 localhost kernel: [ 42.567430] lxcbr0: port 1(veth9EM448) entered blocking state
Feb 18 11:47:55 localhost kernel: [ 42.572935] lxcbr0: port 1(veth9EM448) entered forwarding state
Feb 18 11:47:55 localhost kernel: [ 42.579121] lxcbr0: port 1(veth9EM448) entered disabled state
Feb 18 11:47:55 localhost kernel: [ 42.612516] eth0: renamed from veth9EM448p
Feb 18 11:47:55 localhost kernel: [ 42.636847] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
Feb 18 11:47:55 localhost kernel: [ 42.637655] lxcbr0: port 1(veth9EM448) entered blocking state
Feb 18 11:47:55 localhost kernel: [ 42.643231] lxcbr0: port 1(veth9EM448) entered forwarding state
Feb 18 12:23:25 localhost kernel: [ 2172.247913] rc rc0: two consecutive events of type space
Feb 18 13:01:20 localhost kernel: [ 4447.681291] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 2 - ChHltd set, but reason is unknown
Feb 18 13:01:20 localhost kernel: [ 4447.684848] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
Feb 18 14:02:48 localhost kernel: [ 8135.126496] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 12 - ChHltd set, but reason is unknown
Feb 18 14:02:48 localhost kernel: [ 8135.130136] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
Feb 18 14:02:48 localhost kernel: [ 8135.233948] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 13 - ChHltd set, but reason is unknown
Feb 18 14:02:48 localhost kernel: [ 8135.237588] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
Feb 18 14:02:48 localhost kernel: [ 8135.331297] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 8 - ChHltd set, but reason is unknown
Feb 18 14:02:48 localhost kernel: [ 8135.334850] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
Feb 18 14:02:48 localhost kernel: [ 8135.433698] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is unknown
Feb 18 14:02:48 localhost kernel: [ 8135.437258] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
Feb 18 14:02:48 localhost kernel: [ 8135.536104] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 15 - ChHltd set, but reason is unknown
Feb 18 14:02:48 localhost kernel: [ 8135.539746] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
Feb 18 14:02:48 localhost kernel: [ 8135.638487] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is unknown
Feb 18 14:02:48 localhost kernel: [ 8135.642047] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
Feb 18 16:27:45 localhost kernel: [16831.705241] meson8b-dwmac c9410000.ethernet eth0: Link is Down
Feb 18 16:27:45 localhost kernel: [16831.706004] br-dmz: port 1(eth0.2) entered disabled state
Feb 18 16:27:45 localhost kernel: [16831.711134] br-lan: port 1(eth0.3) entered disabled state
Feb 18 16:27:45 localhost kernel: [16831.717690] br-iot: port 1(eth0.5) entered disabled state
Feb 18 16:27:48 localhost kernel: [16834.777189] meson8b-dwmac c9410000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off
Feb 18 16:27:48 localhost kernel: [16834.780197] br-dmz: port 1(eth0.2) entered blocking state
Feb 18 16:27:48 localhost kernel: [16834.785349] br-dmz: port 1(eth0.2) entered forwarding state
Feb 18 16:27:48 localhost kernel: [16834.791181] br-lan: port 1(eth0.3) entered blocking state
Feb 18 16:27:48 localhost kernel: [16834.796222] br-lan: port 1(eth0.3) entered forwarding state
Feb 18 16:27:48 localhost kernel: [16834.801983] br-iot: port 1(eth0.5) entered blocking state
Feb 18 16:27:48 localhost kernel: [16834.807077] br-iot: port 1(eth0.5) entered forwarding state
Feb 18 16:48:04 localhost kernel: [18051.138700] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 8 - ChHltd set, but reason is unknown
Feb 18 16:48:04 localhost kernel: [18051.142256] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
Feb 18 16:48:04 localhost kernel: [18051.148432] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 3 - ChHltd set, but reason is unknown
Feb 18 16:48:04 localhost kernel: [18051.157523] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
Feb 18 16:48:04 localhost kernel: [18051.238751] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is unknown
Feb 18 16:48:04 localhost kernel: [18051.242305] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
Feb 18 16:59:39 localhost kernel: [18745.905563] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 6 - ChHltd set, but reason is unknown
Feb 18 16:59:39 localhost kernel: [18745.909118] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
Feb 18 16:59:39 localhost kernel: [18745.915281] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 13 - ChHltd set, but reason is unknown
Feb 18 16:59:39 localhost kernel: [18745.924468] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
Feb 18 16:59:39 localhost kernel: [18745.930625] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 9 - ChHltd set, but reason is unknown
Feb 18 16:59:39 localhost kernel: [18745.939737] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
Feb 18 16:59:39 localhost kernel: [18745.962107] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 7 - ChHltd set, but reason is unknown
Feb 18 16:59:39 localhost kernel: [18745.965663] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
Feb 18 17:38:15 localhost kernel: [21061.884216] dwc2 c9100000.usb: dwc2_hc_chhltd_intr_dma: Channel 9 - ChHltd set, but reason is unknown
Feb 18 17:38:15 localhost kernel: [21061.887770] dwc2 c9100000.usb: hcint 0x00000002, intsts 0x04600009
^ permalink raw reply
* Re: stmmac / meson8b-dwmac
From: Jose Abreu @ 2019-02-18 16:43 UTC (permalink / raw)
To: Simon Huelck, Jose Abreu, Martin Blumenstingl
Cc: Emiliano Ingrassia, Gpeppe.cavallaro, alexandre.torgue,
linux-amlogic, netdev
In-Reply-To: <45e73e8c-a0fb-6f8f-8dc6-3aa2103fdda3@gmx.de>
On 2/18/2019 4:40 PM, Simon Huelck wrote:
> Hi,
>
> EEE is enabled for odroid - c2 and should be working in 5.0-rc7 afaik ?
Oops, I was seeing in the wrong version, sorry.
And did you test without that patch ?
Thanks,
Jose Miguel Abreu
^ permalink raw reply
* Re: stmmac / meson8b-dwmac
From: Simon Huelck @ 2019-02-18 16:40 UTC (permalink / raw)
To: Jose Abreu, Martin Blumenstingl
Cc: Emiliano Ingrassia, Gpeppe.cavallaro, alexandre.torgue,
linux-amlogic, netdev
In-Reply-To: <227be4e9-b0cc-a011-2558-71a17567246f@synopsys.com>
Hi,
EEE is enabled for odroid - c2 and should be working in 5.0-rc7 afaik ?
there was a recent patch for this which was added to mainline
regards,
Simon
Am 18.02.2019 um 17:26 schrieb Jose Abreu:
> On 2/18/2019 3:53 PM, Simon Huelck wrote:
>> How can i do this (reset stats) ?
> A simple ifdown / ifup should work.
>
>> The .dtb .dts is meson-gxbb-odroid-c2 from mainline kernel 5.0.rc7
> So, according to your DT bindings you have broken EEE yet it's
> still enabled in stmmac as we see the LPI counters increase.
>
> Try adding a simple "return false;" in the beginning of
> stmmac_eee_init() function and check if it works.
>
> BTW, you still haven't sent any dmesg logs, which can be handy
> and you also shouldn't top post.
>
> Thanks,
> Jose Miguel Abreu
^ permalink raw reply
* Re: stmmac / meson8b-dwmac
From: Jose Abreu @ 2019-02-18 16:26 UTC (permalink / raw)
To: Simon Huelck, Jose Abreu, Martin Blumenstingl
Cc: Emiliano Ingrassia, Gpeppe.cavallaro, alexandre.torgue,
linux-amlogic, netdev
In-Reply-To: <065407cd-c13b-e74c-7798-508650c12caf@gmx.de>
On 2/18/2019 3:53 PM, Simon Huelck wrote:
> How can i do this (reset stats) ?
A simple ifdown / ifup should work.
> The .dtb .dts is meson-gxbb-odroid-c2 from mainline kernel 5.0.rc7
So, according to your DT bindings you have broken EEE yet it's
still enabled in stmmac as we see the LPI counters increase.
Try adding a simple "return false;" in the beginning of
stmmac_eee_init() function and check if it works.
BTW, you still haven't sent any dmesg logs, which can be handy
and you also shouldn't top post.
Thanks,
Jose Miguel Abreu
^ permalink raw reply
* Re: [PATCH 0/2] ARM: dts: am335x-evm/evmsk: Fix PHY mode for ethernet
From: Tony Lindgren @ 2019-02-18 16:26 UTC (permalink / raw)
To: Peter Ujfalusi
Cc: bcousson, linux-omap, devicetree, linux-arm-kernel, nsekhar,
grygorii.strashko, vkoul, netdev, f.fainelli, marc.w.gonzalez,
niklas.cassel
In-Reply-To: <a9eea4d0-88d4-e903-8a9f-7f1b8b276c21@ti.com>
* Peter Ujfalusi <peter.ujfalusi@ti.com> [190218 16:22]:
>
>
> On 18/02/2019 16.44, Tony Lindgren wrote:
> > * Peter Ujfalusi <peter.ujfalusi@ti.com> [190218 14:36]:
> >> Hi,
> >>
> >> cd28d1d6e52e: ("net: phy: at803x: Disable phy delay for RGMII mode") broke the
> >> ethernet networking on evmsk (and most likely on the evm as well):
> >> https://patchwork.ozlabs.org/patch/1028527/
> >>
> >> v1 patch to fix the situation:
> >> https://patchwork.ozlabs.org/patch/1040617/
> >>
> >> It turned out that the at803x driver is actually broken and need to be fixed
> >> along with the DT data.
> >>
> >> The following series is proposed to fix the driver:
> >> https://patchwork.ozlabs.org/project/netdev/list/?series=92611
> >>
> >> but the PHT mode needs to be switched to rgmii-id from rgmii-txid:
> >> The rx delay is enabled by default and the driver never disabled it so when
> >> asking rgmii-txid it actually got rgmii-id.
> >>
> >> The patch can be backported to stable, I have tested that it is not causing
> >> regression with the old, broken driver.
> >
> > Can the dts changes be merged before the driver changes or
> > does it cause the phy to stop working?
>
> The phy is not working atm, but this change will not cause regression
> even if it is merged first.
OK so sounds like these are OK to wait for v5.1 merge window
then as the dts changes alone won't fix anything?
Regards,
Tony
^ permalink raw reply
* Re: [net PATCH] net: vrf: remove MTU limits for vrf device
From: David Ahern @ 2019-02-18 16:25 UTC (permalink / raw)
To: Hangbin Liu, netdev; +Cc: David S . Miller, Davide Caratti
In-Reply-To: <20190218091425.11067-1-liuhangbin@gmail.com>
On 2/18/19 2:14 AM, Hangbin Liu wrote:
> Similiar to commit e94cd8113ce63 ("net: remove MTU limits for dummy and
> ifb device"), MTU is irrelevant for VRF device. We init it as 64K while
> limit it to [68, 1500] may make users feel confused.
>
> Reported-by: Jianlin Shi <jishi@redhat.com>
> Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
> ---
> drivers/net/vrf.c | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/drivers/net/vrf.c b/drivers/net/vrf.c
> index 95909e262ba4..7c1430ed0244 100644
> --- a/drivers/net/vrf.c
> +++ b/drivers/net/vrf.c
> @@ -1273,6 +1273,9 @@ static void vrf_setup(struct net_device *dev)
>
> /* default to no qdisc; user can add if desired */
> dev->priv_flags |= IFF_NO_QUEUE;
> +
> + dev->min_mtu = 0;
> + dev->max_mtu = 0;
> }
>
> static int vrf_validate(struct nlattr *tb[], struct nlattr *data[],
>
Reviewed-by: David Ahern <dsahern@gmail.com>
^ permalink raw reply
* Re: [PATCH 0/2] ARM: dts: am335x-evm/evmsk: Fix PHY mode for ethernet
From: Peter Ujfalusi @ 2019-02-18 16:22 UTC (permalink / raw)
To: Tony Lindgren
Cc: bcousson, linux-omap, devicetree, linux-arm-kernel, nsekhar,
grygorii.strashko, vkoul, netdev, f.fainelli, marc.w.gonzalez,
niklas.cassel
In-Reply-To: <20190218144430.GE15711@atomide.com>
On 18/02/2019 16.44, Tony Lindgren wrote:
> * Peter Ujfalusi <peter.ujfalusi@ti.com> [190218 14:36]:
>> Hi,
>>
>> cd28d1d6e52e: ("net: phy: at803x: Disable phy delay for RGMII mode") broke the
>> ethernet networking on evmsk (and most likely on the evm as well):
>> https://patchwork.ozlabs.org/patch/1028527/
>>
>> v1 patch to fix the situation:
>> https://patchwork.ozlabs.org/patch/1040617/
>>
>> It turned out that the at803x driver is actually broken and need to be fixed
>> along with the DT data.
>>
>> The following series is proposed to fix the driver:
>> https://patchwork.ozlabs.org/project/netdev/list/?series=92611
>>
>> but the PHT mode needs to be switched to rgmii-id from rgmii-txid:
>> The rx delay is enabled by default and the driver never disabled it so when
>> asking rgmii-txid it actually got rgmii-id.
>>
>> The patch can be backported to stable, I have tested that it is not causing
>> regression with the old, broken driver.
>
> Can the dts changes be merged before the driver changes or
> does it cause the phy to stop working?
The phy is not working atm, but this change will not cause regression
even if it is merged first.
>
> Regards,
>
> Tony
>
- Péter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
^ permalink raw reply
* Re: [PATCH net] sock: return uapi errno in sock_setsockopt() for SO_ZEROCOPY
From: Willem de Bruijn @ 2019-02-18 16:04 UTC (permalink / raw)
To: Alexey Kodanev; +Cc: Network Development, Petr Vorel, David Miller
In-Reply-To: <108d9d95-98f4-74b3-f86c-fbd641e1b67b@oracle.com>
On Mon, Feb 18, 2019 at 6:35 AM Alexey Kodanev
<alexey.kodanev@oracle.com> wrote:
>
> On 15.02.2019 19:58, Willem de Bruijn wrote:
> > On Fri, Feb 15, 2019 at 11:51 AM Alexey Kodanev
> > <alexey.kodanev@oracle.com> wrote:
> >>
> >> For unsupported protocols, setsockopt() with SO_ZEROCOPY
> >> option sets errno to ENOTSUPP(524). But this number is
> >> not defined anywhere in the include/uapi/ headers.
> >>
> >> To make sure userspace sees the known number, replace
> >> ENOTSUPP(524) with EOPNOTSUPP(95).
> >>
> >> Fixes: 76851d1212c1 ("sock: add SOCK_ZEROCOPY sockopt")
> >> Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
> >> Reported-by: Petr Vorel <pvorel@suse.cz>
> >
> > This code has been there since 4.14. I think it's too late to change
> > system call behavior.
> >
>
> 'ENOTSUPP' define is solely for an internal usage, it may be replaced
> with another one or the number associated with it may be changed one day,
> implicitly changing the behavior of setsockopt().
I understand, and this was an error on my part.
But I'm afraid that it is already used by other interfaces, as well.
And indeed in that capacity expected by tests. See for instance
tools/testing/selftests/bpf/test_sock_addr.c
^ permalink raw reply
* Re: [PATCH RFC net-next] 6lowpan: use rbtree for IP frag queue
From: Stefan Schmidt @ 2019-02-18 16:03 UTC (permalink / raw)
To: Alexander Aring, Peter Oskolkov
Cc: David Miller, linux-wpan, netdev, Peter Oskolkov
In-Reply-To: <20190217230840.finshiu6s54cer4f@x220t>
Hello Peter.
On 18.02.19 00:08, Alexander Aring wrote:
> Hi,
>
> On Thu, Feb 14, 2019 at 06:29:53PM -0800, Peter Oskolkov wrote:
>> This patch aligns IP defragmenation logic in 6lowpan with that
>> of IPv4 and IPv6: see
>> commit d4289fcc9b16 ("net: IP6 defrag: use rbtrees for IPv6 defrag")
>>
>> Modifying ip_defrag selftest seemed like an overkill, as I suspect
>> most kernel test setups do not have 6lowpan hwsim enabled. So I ran
>> the following code/script manually:
>>
>> insmod ./mac802154_hwsim.ko
>>
>> iwpan dev wpan0 set pan_id 0xbeef
>> ip link add link wpan0 name lowpan0 type lowpan
>> ip link set wpan0 up
>> ip link set lowpan0 up
>>
>> iwpan dev wpan1 set pan_id 0xbeef
>> ip netns add foo
>> iwpan phy1 set netns name foo
>> ip netns exec foo ip link add link wpan1 name lowpan1 type lowpan
>> ip netns exec foo ip link set wpan1 up
>> ip netns exec foo ip link set lowpan1 up
>>
>> ip -6 addr add "fb01::1/128" nodad dev lowpan0
>> ip -netns foo -6 addr add "fb02::1/128" nodad dev lowpan1
>>
>> ip -6 route add "fb02::1/128" dev lowpan0
>> ip -netns foo -6 route add "fb01::1/128" dev lowpan1
>>
>> # then in term1:
>> ip netns exec foo bash
>> ./udp_stream -6
>>
>> # in term2:
>> ./udp_stream -c -6 -H fb02::1
>>
>> # pr_warn_once showed that the code changed by this patch
>> # was invoked.
>>
>> Signed-off-by: Peter Oskolkov <posk@google.com>
>
> Acked-by: Alexander Aring <aring@mojatatu.com>
>
> I tested this series and the code looks a lot simpler. Thanks.
>
> Stefan do you see any issues?
From my side it looks good as well. Thanks for the effort Peter to move
this one over as well!
This patch has been applied to the wpan-next tree and will be
part of the next pull request to net-next. Thanks!
regards
Stefan Schmidt
^ permalink raw reply
* Re: [PATCH net v2] af_packet: fix raw sockets over 6in4 tunnel
From: Sasha Levin @ 2019-02-18 15:57 UTC (permalink / raw)
To: David Miller; +Cc: nicolas.dichtel, netdev, willemb, maximmi
In-Reply-To: <20190117.155527.717258097202066512.davem@davemloft.net>
On Thu, Jan 17, 2019 at 03:55:27PM -0800, David Miller wrote:
>From: Nicolas Dichtel <nicolas.dichtel@6wind.com>
>Date: Thu, 17 Jan 2019 11:27:22 +0100
>
>> Since commit cb9f1b783850, scapy (which uses an AF_PACKET socket in
>> SOCK_RAW mode) is unable to send a basic icmp packet over a sit tunnel:
>>
>> Here is a example of the setup:
>> $ ip link set ntfp2 up
>> $ ip addr add 10.125.0.1/24 dev ntfp2
>> $ ip tunnel add tun1 mode sit ttl 64 local 10.125.0.1 remote 10.125.0.2 dev ntfp2
>> $ ip addr add fd00:cafe:cafe::1/128 dev tun1
>> $ ip link set dev tun1 up
>> $ ip route add fd00:200::/64 dev tun1
>> $ scapy
>>>>> p = []
>>>>> p += IPv6(src='fd00:100::1', dst='fd00:200::1')/ICMPv6EchoRequest()
>>>>> send(p, count=1, inter=0.1)
>>>>> quit()
>> $ ip -s link ls dev tun1 | grep -A1 "TX.*errors"
>> TX: bytes packets errors dropped carrier collsns
>> 0 0 1 0 0 0
>>
>> The problem is that the network offset is set to the hard_header_len of the
>> output device (tun1, ie 14 + 20) and in our case, because the packet is
>> small (48 bytes) the pskb_inet_may_pull() fails (it tries to pull 40 bytes
>> (ipv6 header) starting from the network offset).
>>
>> This problem is more generally related to device with variable hard header
>> length. To avoid a too intrusive patch in the current release, a (ugly)
>> workaround is proposed in this patch. It has to be cleaned up in net-next.
>>
>> Link: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=993675a3100b1
>> Link: http://patchwork.ozlabs.org/patch/1024489/
>> Fixes: cb9f1b783850 ("ip: validate header length on virtual device xmit")
>> CC: Willem de Bruijn <willemb@google.com>
>> CC: Maxim Mikityanskiy <maximmi@mellanox.com>
>> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
>> ---
>>
>> v1 -> v2:
>> reset nh offset only for small packets sent on a variable hard hdr len device
>
>Applied.
Should this go to -stable as well? The patch it fixes is in 4.20.
--
Thanks,
Sasha
^ permalink raw reply
* Re: stmmac / meson8b-dwmac
From: Simon Huelck @ 2019-02-18 15:53 UTC (permalink / raw)
To: Jose Abreu, Martin Blumenstingl
Cc: Emiliano Ingrassia, Gpeppe.cavallaro, alexandre.torgue,
linux-amlogic, netdev
In-Reply-To: <8bae9cd6-5c44-30e3-bfe5-8d6f853f170e@synopsys.com>
[-- Attachment #1: Type: text/plain, Size: 350 bytes --]
How can i do this (reset stats) ?
The .dtb .dts is meson-gxbb-odroid-c2 from mainline kernel 5.0.rc7
Am 18.02.2019 um 16:31 schrieb Jose Abreu:
> On 2/18/2019 3:29 PM, Simon Huelck wrote:
>> Can i reset the ethtool statistics for better overview ?
> Yes please. And do send the remaining logs + DT bindings.
>
> Thanks,
> Jose Miguel Abreu
[-- Attachment #2: ethtool.txt --]
[-- Type: text/plain, Size: 5439 bytes --]
NIC statistics:
mmc_tx_octetcount_gb: 0
mmc_tx_framecount_gb: 0
mmc_tx_broadcastframe_g: 0
mmc_tx_multicastframe_g: 0
mmc_tx_64_octets_gb: 0
mmc_tx_65_to_127_octets_gb: 0
mmc_tx_128_to_255_octets_gb: 0
mmc_tx_256_to_511_octets_gb: 0
mmc_tx_512_to_1023_octets_gb: 0
mmc_tx_1024_to_max_octets_gb: 0
mmc_tx_unicast_gb: 0
mmc_tx_multicast_gb: 0
mmc_tx_broadcast_gb: 0
mmc_tx_underflow_error: 0
mmc_tx_singlecol_g: 0
mmc_tx_multicol_g: 0
mmc_tx_deferred: 0
mmc_tx_latecol: 0
mmc_tx_exesscol: 0
mmc_tx_carrier_error: 0
mmc_tx_octetcount_g: 0
mmc_tx_framecount_g: 0
mmc_tx_excessdef: 0
mmc_tx_pause_frame: 0
mmc_tx_vlan_frame_g: 0
mmc_rx_framecount_gb: 9651493
mmc_rx_octetcount_gb: 1567068041
mmc_rx_octetcount_g: 1567068041
mmc_rx_broadcastframe_g: 928080
mmc_rx_multicastframe_g: 2102
mmc_rx_crc_error: 0
mmc_rx_align_error: 0
mmc_rx_run_error: 0
mmc_rx_jabber_error: 0
mmc_rx_undersize_g: 0
mmc_rx_oversize_g: 0
mmc_rx_64_octets_gb: 0
mmc_rx_65_to_127_octets_gb: 2053537
mmc_rx_128_to_255_octets_gb: 393851
mmc_rx_256_to_511_octets_gb: 232137
mmc_rx_512_to_1023_octets_gb: 319994
mmc_rx_1024_to_max_octets_gb: 6651974
mmc_rx_unicast_g: 8721311
mmc_rx_length_error: 0
mmc_rx_autofrangetype: 0
mmc_rx_pause_frames: 0
mmc_rx_fifo_overflow: 6336
mmc_rx_vlan_frames_gb: 9650884
mmc_rx_watchdog_error: 0
mmc_rx_ipc_intr_mask: 4294770684
mmc_rx_ipc_intr: 0
mmc_rx_ipv4_gd: 8728187
mmc_rx_ipv4_hderr: 0
mmc_rx_ipv4_nopay: 30
mmc_rx_ipv4_frag: 2654
mmc_rx_ipv4_udsbl: 471
mmc_rx_ipv4_gd_octets: 1306820178
mmc_rx_ipv4_hderr_octets: 0
mmc_rx_ipv4_nopay_octets: 1394
mmc_rx_ipv4_frag_octets: 1890414
mmc_rx_ipv4_udsbl_octets: 177279
mmc_rx_ipv6_gd_octets: 223594
mmc_rx_ipv6_hderr_octets: 0
mmc_rx_ipv6_nopay_octets: 0
mmc_rx_ipv6_gd: 708
mmc_rx_ipv6_hderr: 0
mmc_rx_ipv6_nopay: 0
mmc_rx_udp_gd: 1904334
mmc_rx_udp_err: 4
mmc_rx_tcp_gd: 6821336
mmc_rx_tcp_err: 30
mmc_rx_icmp_gd: 2755
mmc_rx_icmp_err: 0
mmc_rx_udp_gd_octets: 1519481289
mmc_rx_udp_err_octets: 1089
mmc_rx_tcp_gd_octets: 3907148290
mmc_rx_tcp_err_octets: 1212
mmc_rx_icmp_gd_octets: 611804
mmc_rx_icmp_err_octets: 0
tx_underflow: 0
tx_carrier: 0
tx_losscarrier: 0
vlan_tag: 9644514
tx_deferred: 0
tx_vlan: 5470028
tx_jabber: 0
tx_frame_flushed: 0
tx_payload_error: 0
tx_ip_header_error: 0
rx_desc: 0
sa_filter_fail: 0
overflow_error: 0
ipc_csum_error: 0
rx_collision: 0
rx_crc_errors: 0
dribbling_bit: 0
rx_length: 0
rx_mii: 0
rx_multicast: 0
rx_gmac_overflow: 0
rx_watchdog: 0
da_rx_filter_fail: 0
sa_rx_filter_fail: 0
rx_missed_cntr: 0
rx_overflow_cntr: 0
rx_vlan: 0
tx_undeflow_irq: 0
tx_process_stopped_irq: 0
tx_jabber_irq: 0
rx_overflow_irq: 0
rx_buf_unav_irq: 0
rx_process_stopped_irq: 0
rx_watchdog_irq: 0
tx_early_irq: 0
fatal_bus_error_irq: 0
rx_early_irq: 69906
threshold: 1
tx_pkt_n: 5470028
rx_pkt_n: 9645123
normal_irq_n: 4005760
rx_normal_irq_n: 3772995
napi_poll: 4879751
tx_normal_irq_n: 224986
tx_clean: 4879751
tx_set_ic_bit: 218801
irq_receive_pmt_irq_n: 0
mmc_tx_irq_n: 0
mmc_rx_irq_n: 0
mmc_rx_csum_offload_irq_n: 0
irq_tx_path_in_lpi_mode_n: 1737935
irq_tx_path_exit_lpi_mode_n: 1737885
irq_rx_path_in_lpi_mode_n: 1
irq_rx_path_exit_lpi_mode_n: 1
phy_eee_wakeup_error_n: 0
ip_hdr_err: 0
ip_payload_err: 0
ip_csum_bypassed: 0
ipv4_pkt_rcvd: 0
ipv6_pkt_rcvd: 0
no_ptp_rx_msg_type_ext: 0
ptp_rx_msg_type_sync: 0
ptp_rx_msg_type_follow_up: 0
ptp_rx_msg_type_delay_req: 0
ptp_rx_msg_type_delay_resp: 0
ptp_rx_msg_type_pdelay_req: 0
ptp_rx_msg_type_pdelay_resp: 0
ptp_rx_msg_type_pdelay_follow_up: 0
ptp_rx_msg_type_announce: 0
ptp_rx_msg_type_management: 0
ptp_rx_msg_pkt_reserved_type: 0
ptp_frame_type: 0
ptp_ver: 0
timestamp_dropped: 0
av_pkt_rcvd: 0
av_tagged_pkt_rcvd: 0
vlan_tag_priority_val: 0
l3_filter_match: 0
l4_filter_match: 0
l3_l4_filter_no_match: 0
irq_pcs_ane_n: 0
irq_pcs_link_n: 0
irq_rgmii_n: 0
mtl_tx_status_fifo_full: 0
mtl_tx_fifo_not_empty: 0
mmtl_fifo_ctrl: 0
mtl_tx_fifo_read_ctrl_write: 0
mtl_tx_fifo_read_ctrl_wait: 0
mtl_tx_fifo_read_ctrl_read: 0
mtl_tx_fifo_read_ctrl_idle: 0
mac_tx_in_pause: 0
mac_tx_frame_ctrl_xfer: 0
mac_tx_frame_ctrl_idle: 0
mac_tx_frame_ctrl_wait: 0
mac_tx_frame_ctrl_pause: 0
mac_gmii_tx_proto_engine: 0
mtl_rx_fifo_fill_level_full: 0
mtl_rx_fifo_fill_above_thresh: 0
mtl_rx_fifo_fill_below_thresh: 0
mtl_rx_fifo_fill_level_empty: 0
mtl_rx_fifo_read_ctrl_flush: 0
mtl_rx_fifo_read_ctrl_read_data: 0
mtl_rx_fifo_read_ctrl_status: 0
mtl_rx_fifo_read_ctrl_idle: 0
mtl_rx_fifo_ctrl_active: 0
mac_rx_frame_ctrl_fifo: 0
mac_gmii_rx_proto_engine: 0
tx_tso_frames: 0
tx_tso_nfrags: 0
^ permalink raw reply
* Re: stmmac / meson8b-dwmac
From: Jose Abreu @ 2019-02-18 15:31 UTC (permalink / raw)
To: Simon Huelck, Jose Abreu, Martin Blumenstingl
Cc: Emiliano Ingrassia, Gpeppe.cavallaro, alexandre.torgue,
linux-amlogic, netdev
In-Reply-To: <cd344fa3-758f-3824-ddd3-568ce837c4f7@gmx.de>
On 2/18/2019 3:29 PM, Simon Huelck wrote:
> Can i reset the ethtool statistics for better overview ?
Yes please. And do send the remaining logs + DT bindings.
Thanks,
Jose Miguel Abreu
^ permalink raw reply
* Re: [PATCH] PCI / ACPI: Don't clear pme_poll on device that has unreliable ACPI wake
From: Kai Heng Feng @ 2019-02-18 15:30 UTC (permalink / raw)
To: Bjorn Helgaas
Cc: Rafael J. Wysocki, Len Brown, jeffrey.t.kirsher, intel-wired-lan,
netdev, linux-acpi, linux-pci, linux-kernel
In-Reply-To: <20190204172057.GB9160@google.com>
> On Feb 4, 2019, at 6:20 PM, Bjorn Helgaas <helgaas@kernel.org> wrote:
>
> On Sun, Feb 03, 2019 at 01:46:50AM +0800, Kai Heng Feng wrote:
>>> On Jan 28, 2019, at 3:51 PM, Kai Heng Feng <kai.heng.feng@canonical.com> wrote:
>>
>>>> If I understand correctly, the bugzilla lspci
>>>> (https://bugzilla.kernel.org/attachment.cgi?id=280691) was collected
>>>> at point 8, and it shows PME_Status=1 when it should be 0.
>>>>
>>>> If we write a 1 to PME_Status to clear it, and it remains set, that's
>>>> obviously a hardware defect, and Intel should document that in an
>>>> erratum, and a quirk would be the appropriate way to work around it.
>>>> But I doubt that's what's happening.
>>>
>>> I’ll ask them if they can provide an erratum.
>>
>> Got confirmed with e1000e folks, I219 (the device in question) doesn’t
>> really support runtime D3.
>
> Did you get a reference, e.g., an intel.com URL for that? Intel
> usually publishes errata for hardware defects, which is nice because
> it means every customer doesn't have to experimentally rediscover
> them.
Unfortunately no.
>
>> I also checked the behavior of the device under Windows, and it
>> stays at D0 all the time even when it’s not in use.
>
> I think there are two possible explanations for this:
>
> 1) This device requires a Windows or a driver update with a
> device-specific quirk similar to what you're proposing for Linux.
I am sure the latest driver is loaded under Windows.
>
> 2) Windows correctly detects that this device doesn't support D3,
> and Linux has a bug and does not detect that.
I think that’s the case.
>
> Obviously nobody wants to require OS or driver updates just for minor
> device changes, and the PCI and ACPI specs are designed to allow
> generic, non device-specific code to detect D3 support, so the first
> case should be a result of a hardware defect.
Yea, that’s why my original idea is to workaround it in PCI/ACPI.
>
>> So I sent a patch [1] to disable it.
>>
>> [1] https://lkml.org/lkml/2019/2/2/200
>
> OK. Since that's in drivers/net/..., I have no objection and the
> e1000e maintainers would deal with that.
Thanks.
Kai-Heng
>
> Bjorn
^ permalink raw reply
* Re: stmmac / meson8b-dwmac
From: Simon Huelck @ 2019-02-18 15:29 UTC (permalink / raw)
To: Jose Abreu, Martin Blumenstingl
Cc: Emiliano Ingrassia, Gpeppe.cavallaro, alexandre.torgue,
linux-amlogic, netdev
In-Reply-To: <84fb981c-75ab-ef9e-edd6-cd0c52d9dc36@synopsys.com>
Hi,
i tried your command and tested afterwards, no change in behaviour .
Can i reset the ethtool statistics for better overview ?
regards,
Simon
Am 18.02.2019 um 14:02 schrieb Jose Abreu:
> On 2/18/2019 12:41 PM, Jose Abreu wrote:
>> On 2/18/2019 12:33 PM, Simon Huelck wrote:
>>> Hi,
>>>
>>>
>>> i recognize the followin on my ethernet stats:
>>>
>>> threshold: 1
>>> tx_pkt_n: 1457325
>>> rx_pkt_n: 5022405
>>> normal_irq_n: 671738
>>> rx_normal_irq_n: 606573
>>> napi_poll: 784439
>>> tx_normal_irq_n: 61061
>>> tx_clean: 784439
>>> tx_set_ic_bit: 58293
>>> irq_receive_pmt_irq_n: 0
>>> mmc_tx_irq_n: 0
>>> mmc_rx_irq_n: 0
>>> mmc_rx_csum_offload_irq_n: 0
>>> -> irq_tx_path_in_lpi_mode_n: 382037
>>> -> irq_tx_path_exit_lpi_mode_n: 382021
>>>
>>>
>>> Is this normal ?
>> Did you try disabling EEE ? ("ethtool --set-eee eth0 eee off")
> BTW, do not try to re-enable it. There is a race in the enable
> function. I will send a fix ASAP.
>
>> Thanks,
>> Jose Miguel Abreu
>>
^ permalink raw reply
* pull-request: wireless-drivers 2019-02-18
From: Kalle Valo @ 2019-02-18 15:19 UTC (permalink / raw)
To: David Miller; +Cc: linux-wireless, netdev, linux-kernel
Hi Dave,
here's one more pull request to net tree for 5.0. Please let me know if
you have any problems.
Kalle
The following changes since commit 8c22d81d55353209f8976074ffa9fb1085da0830:
MAINTAINERS: add entry for redpine wireless driver (2019-02-03 21:41:51 +0200)
are available in the git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kvalo/wireless-drivers.git tags/wireless-drivers-for-davem-2019-02-18
for you to fetch changes up to d04ca383860bef90a0dab4eb397907f7f05e839e:
mt76x0u: fix suspend/resume (2019-02-07 18:32:16 +0200)
----------------------------------------------------------------
wireless-drivers fixes for 5.0
Hopefully the last set of fixes for 5.0, only fix this time.
mt76
* fix regression with resume on mt76x0u USB devices
----------------------------------------------------------------
Stanislaw Gruszka (1):
mt76x0u: fix suspend/resume
drivers/net/wireless/mediatek/mt76/mt76x0/usb.c | 46 ++++++++++++++++---------
1 file changed, 29 insertions(+), 17 deletions(-)
^ permalink raw reply
* Re: [PATCH] net/mlx4_en: fix spelling mistake: "quiting" -> "quitting"
From: Tariq Toukan @ 2019-02-18 14:54 UTC (permalink / raw)
To: Dan Carpenter, Tariq Toukan
Cc: Colin King, David S . Miller, netdev@vger.kernel.org,
linux-rdma@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-kernel@vger.kernel.org
In-Reply-To: <20190218102557.GC17104@kadam>
On 2/18/2019 12:25 PM, Dan Carpenter wrote:
> On Mon, Feb 18, 2019 at 09:37:22AM +0000, Tariq Toukan wrote:
>>
>>
>> On 2/18/2019 1:03 AM, Colin King wrote:
>>> From: Colin Ian King <colin.king@canonical.com>
>>>
>>> There is a spelling mistake in a en_err error message. Fix it.
>>>
>>> Signed-off-by: Colin Ian King <colin.king@canonical.com>
>>> ---
>>> drivers/net/ethernet/mellanox/mlx4/en_netdev.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>>
>>> diff --git a/drivers/net/ethernet/mellanox/mlx4/en_netdev.c b/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
>>> index 6b88881b8e35..c1438ae52a11 100644
>>> --- a/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
>>> +++ b/drivers/net/ethernet/mellanox/mlx4/en_netdev.c
>>> @@ -3360,7 +3360,7 @@ int mlx4_en_init_netdev(struct mlx4_en_dev *mdev, int port,
>>> dev->addr_len = ETH_ALEN;
>>> mlx4_en_u64_to_mac(dev->dev_addr, mdev->dev->caps.def_mac[priv->port]);
>>> if (!is_valid_ether_addr(dev->dev_addr)) {
>>> - en_err(priv, "Port: %d, invalid mac burned: %pM, quiting\n",
>>> + en_err(priv, "Port: %d, invalid mac burned: %pM, quitting\n",
>>> priv->port, dev->dev_addr);
>>> err = -EINVAL;
>>> goto out;
>>>
>>
>> Hi Colin, thanks for your patch.
>>
>> Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
>>
>> I would suggest adding a Fixes line, but looking into the history of the
>> typo, it went through many patches that modified this line but preserved
>> the typo.
>> Actually, it dates back to the very first commit that introduces mlx4
>> driver:
>>
>> Patches history:
>> 2b3ddf27f48c net/mlx4_core: Replace VF zero mac with random mac in mlx4_core
>> ef96f7d46ad8 net/mlx4_en: Handle unassigned VF MAC address correctly
>> 6bbb6d99f3d2 net/mlx4_en: Optimize Rx fast path filter checks
>> 453a60827735 mlx4_en: Giving interface name in debug messages
>> c27a02cd94d6 mlx4_en: Add driver for Mellanox ConnectX 10GbE NIC
>>
>> I'm not sure what the "Fixes:" policy is in these cases.
>
> I wouldn't necessarily put a Fixes tag on this, because does fixing the
> spelling really count as a bugfix? It's borderline whether it's a fix
> or a cleanup.
>
> regards,
> daan carpenter
>
Thanks Dan, I'm fine with that.
^ permalink raw reply
* Re: [PATCH 0/2] ARM: dts: am335x-evm/evmsk: Fix PHY mode for ethernet
From: Tony Lindgren @ 2019-02-18 14:44 UTC (permalink / raw)
To: Peter Ujfalusi
Cc: bcousson, linux-omap, devicetree, linux-arm-kernel, nsekhar,
grygorii.strashko, vkoul, netdev, f.fainelli, marc.w.gonzalez,
niklas.cassel
In-Reply-To: <20190218143629.28392-1-peter.ujfalusi@ti.com>
* Peter Ujfalusi <peter.ujfalusi@ti.com> [190218 14:36]:
> Hi,
>
> cd28d1d6e52e: ("net: phy: at803x: Disable phy delay for RGMII mode") broke the
> ethernet networking on evmsk (and most likely on the evm as well):
> https://patchwork.ozlabs.org/patch/1028527/
>
> v1 patch to fix the situation:
> https://patchwork.ozlabs.org/patch/1040617/
>
> It turned out that the at803x driver is actually broken and need to be fixed
> along with the DT data.
>
> The following series is proposed to fix the driver:
> https://patchwork.ozlabs.org/project/netdev/list/?series=92611
>
> but the PHT mode needs to be switched to rgmii-id from rgmii-txid:
> The rx delay is enabled by default and the driver never disabled it so when
> asking rgmii-txid it actually got rgmii-id.
>
> The patch can be backported to stable, I have tested that it is not causing
> regression with the old, broken driver.
Can the dts changes be merged before the driver changes or
does it cause the phy to stop working?
Regards,
Tony
^ permalink raw reply
* RE: [PATCH net-next] bnx2x: Remove set but not used variable 'mfw_vn'
From: Sudarsana Reddy Kalluru @ 2019-02-18 14:40 UTC (permalink / raw)
To: YueHaibing, Ariel Elior, David S . Miller
Cc: GR-everest-linux-l2, netdev@vger.kernel.org,
kernel-janitors@vger.kernel.org
In-Reply-To: <20190218121954.78928-1-yuehaibing@huawei.com>
>-----Original Message-----
>From: YueHaibing [mailto:yuehaibing@huawei.com]
>Sent: 18 February 2019 17:50
>To: Ariel Elior <aelior@marvell.com>; Sudarsana Reddy Kalluru
><skalluru@marvell.com>; David S . Miller <davem@davemloft.net>
>Cc: YueHaibing <yuehaibing@huawei.com>; GR-everest-linux-l2 <GR-everest-
>linux-l2@marvell.com>; netdev@vger.kernel.org; kernel-
>janitors@vger.kernel.org
>Subject: [PATCH net-next] bnx2x: Remove set but not used variable 'mfw_vn'
>
>Fixes gcc '-Wunused-but-set-variable' warning:
>
>drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c: In function
>'bnx2x_get_hwinfo':
>drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c:11940:10: warning:
> variable 'mfw_vn' set but not used [-Wunused-but-set-variable]
>
>It's never used since introduction.
>
>Signed-off-by: YueHaibing <yuehaibing@huawei.com>
>---
> drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
>diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
>b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
>index 3b5b47e98c73..7c47be215a34 100644
>--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
>+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
>@@ -11998,7 +11998,7 @@ static void validate_set_si_mode(struct bnx2x
>*bp) static int bnx2x_get_hwinfo(struct bnx2x *bp) {
> int /*abs*/func = BP_ABS_FUNC(bp);
>- int vn, mfw_vn;
>+ int vn;
> u32 val = 0, val2 = 0;
> int rc = 0;
>
>@@ -12083,12 +12083,10 @@ static int bnx2x_get_hwinfo(struct bnx2x *bp)
> /*
> * Initialize MF configuration
> */
>-
> bp->mf_ov = 0;
> bp->mf_mode = 0;
> bp->mf_sub_mode = 0;
> vn = BP_VN(bp);
>- mfw_vn = BP_FW_MB_IDX(bp);
>
> if (!CHIP_IS_E1(bp) && !BP_NOMCP(bp)) {
> BNX2X_DEV_INFO("shmem2base 0x%x, size %d, mfcfg offset
>%d\n",
>
>
Acked-by: Sudarsana Reddy Kalluru <skalluru@marvell.com>
^ permalink raw reply
* Re: [PATCH v2 2/2] net: phy: at803x: disable delay only for RGMII mode
From: Peter Ujfalusi @ 2019-02-18 14:40 UTC (permalink / raw)
To: Vinod Koul, David S Miller
Cc: linux-arm-msm, Bjorn Andersson, netdev, Niklas Cassel,
Andrew Lunn, Florian Fainelli, Nori, Sekhar, Marc Gonzalez
In-Reply-To: <20190218101853.4290-2-vkoul@kernel.org>
Hi Vinod,
On 18/02/2019 12.18, Vinod Koul wrote:
> Per "Documentation/devicetree/bindings/net/ethernet.txt" RGMII mode
> should not have delay in PHY wheras RGMII_ID and RGMII_RXID/RGMII_TXID
> can have delay in phy.
>
> So disable the delay only for RGMII mode and enable for other modes.
> Also treat the default case as disabled delays.
With https://patchwork.ozlabs.org/project/netdev/list/?series=92672
ethernet is working on am335x-evmsk. thank you:
Tested-by: Peter Ujfalusi <peter.ujflausi@ti.com>
> Fixes: cd28d1d6e52e: ("net: phy: at803x: Disable phy delay for RGMII mode")
> Reported-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
> Signed-off-by: Vinod Koul <vkoul@kernel.org>
> ---
> drivers/net/phy/at803x.c | 47 ++++++++++++++++++++++++++++++----------
> 1 file changed, 36 insertions(+), 11 deletions(-)
>
> diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c
> index c6e7d800fd7a..dc1b13f7fc12 100644
> --- a/drivers/net/phy/at803x.c
> +++ b/drivers/net/phy/at803x.c
> @@ -110,6 +110,18 @@ static int at803x_debug_reg_mask(struct phy_device *phydev, u16 reg,
> return phy_write(phydev, AT803X_DEBUG_DATA, val);
> }
>
> +static int at803x_enable_rx_delay(struct phy_device *phydev)
> +{
> + return at803x_debug_reg_mask(phydev, AT803X_DEBUG_REG_0, 0,
> + AT803X_DEBUG_RX_CLK_DLY_EN);
> +}
> +
> +static int at803x_enable_tx_delay(struct phy_device *phydev)
> +{
> + return at803x_debug_reg_mask(phydev, AT803X_DEBUG_REG_5, 0,
> + AT803X_DEBUG_TX_CLK_DLY_EN);
> +}
> +
> static int at803x_disable_rx_delay(struct phy_device *phydev)
> {
> return at803x_debug_reg_mask(phydev, AT803X_DEBUG_REG_0,
> @@ -255,23 +267,36 @@ static int at803x_config_init(struct phy_device *phydev)
> if (ret < 0)
> return ret;
>
> - if (phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID ||
> - phydev->interface == PHY_INTERFACE_MODE_RGMII_ID ||
> - phydev->interface == PHY_INTERFACE_MODE_RGMII) {
> - ret = at803x_disable_rx_delay(phydev);
> + /* The hardware register default is RX and TX delay enabled, so lets
> + * first disable the RX and TX delays in phy and enable them based
> + * on the mode selected
> + */
> + ret = at803x_disable_rx_delay(phydev);
> + if (ret < 0)
> + return ret;
> + ret = at803x_disable_tx_delay(phydev);
> + if (ret < 0)
> + return ret;
> +
> + if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID ||
> + phydev->interface == PHY_INTERFACE_MODE_RGMII_RXID) {
> + /* If RGMII_ID or RGMII_RXID are specified enable RX delay,
> + * otherwise keep it disabled
> + */
> + ret = at803x_enable_rx_delay(phydev);
> if (ret < 0)
> return ret;
> }
>
> - if (phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID ||
> - phydev->interface == PHY_INTERFACE_MODE_RGMII_ID ||
> - phydev->interface == PHY_INTERFACE_MODE_RGMII) {
> - ret = at803x_disable_tx_delay(phydev);
> - if (ret < 0)
> - return ret;
> + if (phydev->interface == PHY_INTERFACE_MODE_RGMII_ID ||
> + phydev->interface == PHY_INTERFACE_MODE_RGMII_TXID) {
> + /* If RGMII_ID or RGMII_TXID are specified enable TX delay,
> + * otherwise keep it disabled
> + */
> + ret = at803x_enable_tx_delay(phydev);
> }
>
> - return 0;
> + return ret;
> }
>
> static int at803x_ack_interrupt(struct phy_device *phydev)
>
- Péter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
^ permalink raw reply
* [PATCH 2/2] ARM: dts: am335x-evm: Fix PHY mode for ethernet
From: Peter Ujfalusi @ 2019-02-18 14:36 UTC (permalink / raw)
To: tony
Cc: bcousson, linux-omap, devicetree, linux-arm-kernel, nsekhar,
grygorii.strashko, vkoul, netdev, f.fainelli, marc.w.gonzalez,
niklas.cassel
In-Reply-To: <20190218143629.28392-1-peter.ujfalusi@ti.com>
The PHY must add both tx and rx delay and not only on the tx clock.
The board uses AR8031_AL1A PHY where the rx delay is enabled by default,
the tx dealy is disabled.
The reason why rgmii-txid worked because the rx delay was not disabled by
the driver so essentially we ended up with rgmii-id PHY mode.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
arch/arm/boot/dts/am335x-evm.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/am335x-evm.dts b/arch/arm/boot/dts/am335x-evm.dts
index b67f5fee1469..dce5be5df97b 100644
--- a/arch/arm/boot/dts/am335x-evm.dts
+++ b/arch/arm/boot/dts/am335x-evm.dts
@@ -729,7 +729,7 @@
&cpsw_emac0 {
phy-handle = <ðphy0>;
- phy-mode = "rgmii-txid";
+ phy-mode = "rgmii-id";
};
&tscadc {
--
Peter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
^ permalink raw reply related
* [PATCH 0/2] ARM: dts: am335x-evm/evmsk: Fix PHY mode for ethernet
From: Peter Ujfalusi @ 2019-02-18 14:36 UTC (permalink / raw)
To: tony
Cc: bcousson, linux-omap, devicetree, linux-arm-kernel, nsekhar,
grygorii.strashko, vkoul, netdev, f.fainelli, marc.w.gonzalez,
niklas.cassel
Hi,
cd28d1d6e52e: ("net: phy: at803x: Disable phy delay for RGMII mode") broke the
ethernet networking on evmsk (and most likely on the evm as well):
https://patchwork.ozlabs.org/patch/1028527/
v1 patch to fix the situation:
https://patchwork.ozlabs.org/patch/1040617/
It turned out that the at803x driver is actually broken and need to be fixed
along with the DT data.
The following series is proposed to fix the driver:
https://patchwork.ozlabs.org/project/netdev/list/?series=92611
but the PHT mode needs to be switched to rgmii-id from rgmii-txid:
The rx delay is enabled by default and the driver never disabled it so when
asking rgmii-txid it actually got rgmii-id.
The patch can be backported to stable, I have tested that it is not causing
regression with the old, broken driver.
Regards,
Peter
---
Peter Ujfalusi (2):
ARM: dts: am335x-evmsk: Fix PHY mode for ethernet
ARM: dts: am335x-evm: Fix PHY mode for ethernet
arch/arm/boot/dts/am335x-evm.dts | 2 +-
arch/arm/boot/dts/am335x-evmsk.dts | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
--
Peter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
^ permalink raw reply
* Re: [PATCH net-next] cfg80211: pmsr: use eth_broadcast_addr() to assign broadcast address
From: Dan Carpenter @ 2019-02-18 14:36 UTC (permalink / raw)
To: maowenan; +Cc: johannes, linux-wireless, kernel-janitors, netdev, kvalo
In-Reply-To: <927ff17c-c506-734f-fc27-796d4c8fba98@huawei.com>
On Mon, Feb 18, 2019 at 09:25:06PM +0800, maowenan wrote:
> Add kalle Valo in mail list.
>
> Hi Kalle Valo,
> Do you have any comments about this patch?
>
It's not done against a recent net-next so it doesn't apply.
Please give people a few days to reply for networking changes.
regards,
dan caprenter
^ permalink raw reply
* [PATCH 1/2] ARM: dts: am335x-evmsk: Fix PHY mode for ethernet
From: Peter Ujfalusi @ 2019-02-18 14:36 UTC (permalink / raw)
To: tony
Cc: bcousson, linux-omap, devicetree, linux-arm-kernel, nsekhar,
grygorii.strashko, vkoul, netdev, f.fainelli, marc.w.gonzalez,
niklas.cassel
In-Reply-To: <20190218143629.28392-1-peter.ujfalusi@ti.com>
The PHY must add both tx and rx delay and not only on the tx clock.
The board uses AR8031_AL1A PHY where the rx delay is enabled by default,
the tx dealy is disabled.
The reason why rgmii-txid worked because the rx delay was not disabled by
the driver so essentially we ended up with rgmii-id PHY mode.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
---
arch/arm/boot/dts/am335x-evmsk.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/am335x-evmsk.dts b/arch/arm/boot/dts/am335x-evmsk.dts
index 172c0224e7f6..b128998097ce 100644
--- a/arch/arm/boot/dts/am335x-evmsk.dts
+++ b/arch/arm/boot/dts/am335x-evmsk.dts
@@ -651,13 +651,13 @@
&cpsw_emac0 {
phy-handle = <ðphy0>;
- phy-mode = "rgmii-txid";
+ phy-mode = "rgmii-id";
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
phy-handle = <ðphy1>;
- phy-mode = "rgmii-txid";
+ phy-mode = "rgmii-id";
dual_emac_res_vlan = <2>;
};
--
Peter
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
^ permalink raw reply related
* Re: [PATCH net-next] cfg80211: pmsr: use eth_broadcast_addr() to assign broadcast address
From: maowenan @ 2019-02-18 14:04 UTC (permalink / raw)
To: Kalle Valo; +Cc: johannes, linux-wireless, kernel-janitors, netdev
In-Reply-To: <878sydus0p.fsf@kamboji.qca.qualcomm.com>
On 2019/2/18 21:48, Kalle Valo wrote:
> maowenan <maowenan@huawei.com> writes:
>
>> Add kalle Valo in mail list.
>>
>> Hi Kalle Valo,
>> Do you have any comments about this patch?
>
> Why do you ask me? Johannes maintains cfg80211, not me, and he will
> provide comments once he reviews the patch (which might take some time,
> we do have other tasks as well).
I'm sorry for this, my mistake to add wrong maintainer.
>
^ permalink raw reply
page: next (older) | prev (newer) | latest
- recent:[subjects (threaded)|topics (new)|topics (active)]
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox