On Tue, Feb 13, 2018 at 2:05 AM, David Ahern wrote:
> Hardware supports multipath selection using the standard L4 5-tuple
> instead of just L3 and the flow label. In addition, some network
> operators prefer IPv6 path selection to use the 5-tuple.
The HW supports using flow
Remove 'sctp_' prefix for diag file, to keep consistent with other
files' names.
Signed-off-by: Xin Long
---
net/sctp/Makefile| 2 +
net/sctp/diag.c | 526 +++
net/sctp/sctp_diag.c | 526
This patchset is to remove the sctp_ prefix for sctp diag file,
and also to add the missing file comments for it.
v1->v2:
split them into two patches as Marcelo suggested.
Xin Long (2):
sctp: rename sctp_diag.c as diag.c
sctp: add file comments in diag.c
net/sctp/Makefile| 2 +
This patch is to add the missing file comments for sctp diag file.
Signed-off-by: Xin Long
---
net/sctp/diag.c | 31 +++
1 file changed, 31 insertions(+)
diff --git a/net/sctp/diag.c b/net/sctp/diag.c
index a72a7d9..078f01a 100644
---
On Tue, Feb 13, 2018 at 2:42 PM, Ido Schimmel wrote:
> On Tue, Feb 13, 2018 at 01:03:14PM +0200, Or Gerlitz wrote:
>> On Tue, Feb 13, 2018 at 2:05 AM, David Ahern wrote:
>> > Hardware supports multipath selection using the standard L4 5-tuple
>> > instead of
If is sufficient with a forward declaration of struct xdp_rxq_info in
linux/filter.h, which avoids including net/xdp.h. This was originally
suggested by John Fastabend during the review phase, but wasn't
included in the final patchset revision. Thus, this followup.
Suggested-by: John Fastabend
Hello Jose,
I remember that you had a problem
with a use after free in stmmac_tx_clean().
I still don't think that it is related to
commit 05cf0d1bf4, however, when comparing
the stmmac driver to the amd-xgbe driver
I realized that:
xgbe_tx_poll() has both a smp_rmb() after fetching
cur_tx, and
This patch is to fix the file comments in stream.c and
stream_interleave.c
v1->v2:
rephrase the comment for stream.c according to Neil's suggestion.
Fixes: a83863174a61 ("sctp: prepare asoc stream for stream reconf")
Fixes: 0c3f6f655487 ("sctp: implement make_datafrag for
On Tue, Feb 13, 2018 at 10:42:31AM +0100, Daniel Schultz wrote:
> From: Wadim Egorov
>
> The DP83867 has a muxing option for the CLK_OUT pin. It is possible
> to set CLK_OUT for different channels.
> Create a binding to select a specific clock for CLK_OUT pin.
>
>
On Tue, Feb 13, 2018 at 07:29:13PM +0800, Xin Long wrote:
> This patch is to fix the file comments in stream.c and
> stream_interleave.c
>
> v1->v2:
> rephrase the comment for stream.c according to Neil's suggestion.
>
> Fixes: a83863174a61 ("sctp: prepare asoc stream for stream reconf")
>
On Tue, Feb 13, 2018 at 07:33:19PM +0800, Xin Long wrote:
> This patchset is to remove the sctp_ prefix for sctp diag file,
> and also to add the missing file comments for it.
>
> v1->v2:
> split them into two patches as Marcelo suggested.
>
> Xin Long (2):
> sctp: rename sctp_diag.c as
Hi Sergei,
Thanks for your feedback.
On 2018-02-13 13:01:04 +0300, Sergei Shtylyov wrote:
> Hello!
>
> On 02/12/2018 11:00 PM, Niklas Söderlund wrote:
>
> > Allow for chancing the MTU within the limit of the maximum size of a
>
>Changing. :-)
Yes :-)
>
> > descriptor (2048 bytes). Add
This patch adds Makefile, Kconfig and vmlinux.lds.S files required for building
an nds32 kernel.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/Kconfig | 103 ++
arch/nds32/Kconfig.cpu
This patch adds nds32 L2 cache controller binding documents.
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
Acked-by: Arnd Bergmann
---
Documentation/devicetree/bindings/nds32/atl2c.txt | 28 +++
1 file
This patch adds nds32 SoC(AE3XX and AG101P) binding documents.
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
Acked-by: Arnd Bergmann
---
.../devicetree/bindings/nds32/andestech-boards | 40 ++
1 file
This patch adds an irqchip driver document for the Andestech Internal Vector
Interrupt Controller.
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
Acked-by: Arnd Bergmann
---
On Mon, 2018-02-12 at 15:19 -0500, Alexander Aring wrote:
>
> @@ -211,7 +212,8 @@ int tcf_generic_walker(struct tc_action_net *tn, struct
> sk_buff *skb,
> } else if (type == RTM_GETACTION) {
> return tcf_dump_walker(idrinfo, skb, cb);
> } else {
> -
This patch includes the atomic and futex operations. Many atomic operations use
the load-lock word(llw) and store-condition word(scw) operations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
Hi, Ying,
On 13.02.2018 12:04, Ying Xue wrote:
> Currently when user changes link properties, TIPC first checks if
> user's command message contains media name or bearer name through
> tipc_media_find() or tipc_bearer_find() which is protected by RTNL
> lock. But when tipc_nl_compat_link_set()
On 12/02/18 21:03, Boris Brezillon wrote:
> MTD users are no longer checking erase_info->state to determine if the
> erase operation failed or succeeded. Moreover, mtd_erase_callback() is
> now a NOP.
>
> We can safely get rid of all mtd_erase_callback() calls and all
> erase_info->state
On Mon, 2018-02-12 at 12:05 -0800, Tejun Heo wrote:
> On Mon, Feb 12, 2018 at 09:03:25AM -0800, Tejun Heo wrote:
> > Hello, Daniel.
> >
> > On Mon, Feb 12, 2018 at 06:00:13PM +0100, Daniel Borkmann wrote:
> > > [ +Dennis, +Tejun ]
> > >
> > > Looks like we're stuck in percpu allocator with
This function will be used to obtain net of tun device.
Signed-off-by: Kirill Tkhai
---
include/linux/socket.h |2 ++
net/socket.c |3 ++-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/include/linux/socket.h b/include/linux/socket.h
index
This patch adds possibility to get tun device's net namespace fd
in the same way we allow to do that for sockets.
Socket ioctl numbers do not intersect with tun-specific, and there
is already SIOCSIFHWADDR used in tun code. So, SIOCGSKNS number
is choosen instead of custom-made for this
Currently, it's not possible to get or check net namespace,
which was used to create tun socket. User may have two tun
devices with the same names in different nets, and there
is no way to differ them each other.
The patchset adds support for ioctl() cmd SIOCGSKNS for tun
devices. It will allow
On Tue, Feb 13, 2018 at 01:03:14PM +0200, Or Gerlitz wrote:
> On Tue, Feb 13, 2018 at 2:05 AM, David Ahern wrote:
> > Hardware supports multipath selection using the standard L4 5-tuple
> > instead of just L3 and the flow label. In addition, some network
> > operators prefer
From: Jiri Pirko
This patchset contains couple of fixes following-up the shared block
patchsets.
Jiri Pirko (2):
net: sched: don't set q pointer for shared blocks
net: sched: fix tc_u_common lookup
net/sched/cls_api.c | 26 --
net/sched/cls_u32.c
From: Jiri Pirko
The offending commit wrongly assumes 1:1 mapping between block and q.
However, there are multiple blocks for a single q for classful qdiscs.
Since the obscure tc_u_common sharing mechanism expects it to be shared
among a qdisc, fix it by storing q pointer in
From: Jiri Pirko
It is pointless to set block->q for block which are shared among
multiple qdiscs. So remove the assignment in that case. Do a bit of code
reshuffle to make block->index initialized at that point so we can use
tcf_block_shared() helper.
Reported-by: Cong Wang
Hi David,
On Mon, Feb 12, 2018 at 04:05:55PM -0800, David Ahern wrote:
> Hardware supports multipath selection using the standard L4 5-tuple
> instead of just L3 and the flow label. In addition, some network
> operators prefer IPv6 path selection to use the 5-tuple. To that end,
> add support to
The current selftests Makefile construct result in cgroup_helpers.c
gets compiled together with all the TEST_GEN_PROGS. And it also result
in invoking the libbpf Makefile two times (tools/lib/bpf).
These issues were introduced in commit 9d1f15941967 ("bpf: move
cgroup_helpers from samples/bpf/ to
This patch includes page fault handler, mmap and fixup implementations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/lib/copy_page.S | 37
arch/nds32/mm/extable.c| 16
This patch includes the kernel startup code. It can get dtb pointer
passed from bootloader. It will create a temp mapping by tlb
instructions at beginning and goto start_kernel.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
This patch adds nds32 defconfig.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/configs/defconfig | 104 +++
1 file changed, 104
Hi,
this is the third version of the patchset introducing net_sem
instead of net_mutex. The patchset adds net_sem in addition
to net_mutex and allows pernet_operations to be "async". This
flag means, the pernet_operations methods are safe to be
executed with any other pernet_operations
Line up destructors actions in the revers order
to constructors. Next patches will add more actions,
and this will be comfortable, if there is the such
order.
Signed-off-by: Kirill Tkhai
Acked-by: Andrei Vagin
---
net/core/net_namespace.c | 20
This patch adds support for timer.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Reviewed-by: Linus Walleij
Acked-by: Arnd Bergmann
---
arch/nds32/kernel/time.c | 11 +++
1 file
This patch merges two repeating pieces of code in one,
and they will live in setup_net() now.
The only change is that assignment:
init_net_initialized = true;
becomes reordered with:
list_add_tail_rcu(>list, _namespace_list);
The order does not have visible effect, and it is a
On Mon, Feb 12, 2018 at 4:24 PM, Dmitry Vyukov wrote:
> On Mon, Feb 12, 2018 at 4:22 PM, syzbot
> wrote:
>> Hello,
>>
>> syzbot hit the following crash on net-next commit
>> d0adb51edb73c94a595bfa9d9bd8b35977e74fbf
>>
>>
A commit for the nds32 architecture bootstrap("asm-generic/io.h: move
ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU")
will move the ioremap_nocache out of the CONFIG_MMU ifdef. This means that
in order to suppress re-definition errors we need to remove the #define
in
It will get the wrong virtual address because port->mapbase is not added
the correct reg-offset yet. We have to update it before earlycon_map()
is called
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
Cc: Peter Hurley
Cc:
It allows some architectures to use this generic macro instead of
defining theirs.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
include/asm-generic/io.h | 18 +-
1 file
Randy Dunlap writes:
> On 02/12/2018 04:28 AM, Michael Ellerman wrote:
>> Randy Dunlap writes:
>>
>>> From: Randy Dunlap
>>>
>>> Currently #includes for no obvious
>>> reason. It looks like it's only a convenience, so
A future commit for the nds32 architecture bootstrap("asm-generic/io.h: move
ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU")
will move the ioremap_nocache out of the CONFIG_MMU ifdef. This means that
in order to suppress re-definition errors we need to setup #define's
Hi Boris,
On Tue, 13 Feb 2018 09:17:14 +0100, Boris Brezillon
wrote:
> On Tue, 13 Feb 2018 08:42:46 +0100
> Miquel Raynal wrote:
>
> > Hi Boris,
> >
> > Just a few comments about the form.
> >
> > Otherwise:
> > Reviewed-by: Miquel
This patch is used to support nds32 architecture to use these faraday
mac IP.
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
drivers/net/ethernet/faraday/Kconfig | 8 +---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git
The pernet_operations would have had a problem in parallel
execution with others, if init_net had been able to released.
But it's not, and the rest is safe for that.
There is memory allocation, which nobody else interested in,
and sysctl registration. So, we make them async.
Signed-off-by: Kirill
This patch add support for various library functions.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/string.h | 17 +++
arch/nds32/include/asm/swab.h| 35 +
This patch starts to convert pernet_subsys, registered
from pure initcalls.
net_ns_ops::net_ns_net_init/net_ns_net_init, methods use only
ida_simple_* functions, which are not need a synchronization.
They are synchronized by idr subsystem.
So, net_ns_ops methods are able to be executed
in
This patch starts to convert pernet_subsys, registered
from core initcalls.
Methods sysctl_net_init() and sysctl_net_exit() initialize
net::sysctls table of a namespace.
pernet_operations::init()/exit() methods from the rest
of the list do not touch net::sysctls of strangers,
so it's safe to
The methods of netlink_net_ops create and destroy "netlink"
file, which are not interesting for foreigh pernet_operations.
So, netlink_net_ops may safely be made async.
Signed-off-by: Kirill Tkhai
Acked-by: Andrei Vagin
---
net/netlink/af_netlink.c |
net_inuse_ops methods expose statistics in /proc.
No one from the rest of pernet_subsys or pernet_device
lists touch net::core::inuse.
So, it's safe to make net_inuse_ops async.
Signed-off-by: Kirill Tkhai
Acked-by: Andrei Vagin
---
net/core/sock.c
Methods netfilter_net_init() and netfilter_net_exit()
initialize net::nf::hooks and change net-related proc
directory of net. Another pernet_operations are not
interested in forein net::nf::hooks or proc entries,
so it's safe to make them executed in parallel with
methods of other pernet
net_defaults_ops introduce only net_defaults_init_net method,
and it acts on net::core::sysctl_somaxconn, which
is not interesting for the rest of pernet_subsys and
pernet_device lists. Then, make them async.
Signed-off-by: Kirill Tkhai
Acked-by: Andrei Vagin
From: Wadim Egorov
Add documentation of ti,clk-output-sel which can be used to select
a specific clock for CLK_OUT.
Signed-off-by: Wadim Egorov
Signed-off-by: Daniel Schultz
---
Documentation/devicetree/bindings/net/ti,dp83867.txt
This patch contains cache and TLB maintenance functions.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/cache.h | 12 +
arch/nds32/include/asm/cache_info.h|
This patch includes virtual memory layout, PHYS_OFFSET is defined as 0x0. It
also includes the 4KB/8KB page size configurations and pte operations.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
This patch introduces some miscellaneous header files.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/delay.h | 39 +
Add a maintainer information for the nds32(Andes) architecture.
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
MAINTAINERS | 11 +++
1 file changed, 11 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index
This patch adds VDSO support. The VDSO code is currently used for
sys_rt_sigreturn() and optimised gettimeofday() (using the SoC timer counter).
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
Hello!
On 02/12/2018 11:00 PM, Niklas Söderlund wrote:
> Allow for chancing the MTU within the limit of the maximum size of a
Changing. :-)
> descriptor (2048 bytes). Add the callback to change MTU from user-space
> and take the configurable MTU into account when configuring the
> hardware.
From: Petr Machata
The member ref_count already determines whether a given SPAN entry is
used, and is as easy to use as a dedicated boolean.
Signed-off-by: Petr Machata
Signed-off-by: Jiri Pirko
---
From: Petr Machata
For the upcoming work on SPAN, it makes sense to move the current code
to a module of its own. It already has a well-defined API boundary to
the mirror management (which is used from matchall and ACL code). A
couple more functions need to be exported for
From: Arkadi Sharshevsky
Use NL_SET_ERR_MSG_MOD helper which adds the module name instead
of specifying the prefix each time.
Signed-off-by: Arkadi Sharshevsky
Signed-off-by: Jiri Pirko
---
From: Petr Machata
Signed-off-by: Petr Machata
Signed-off-by: Jiri Pirko
---
drivers/net/ethernet/mellanox/mlxsw/spectrum.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
From: Jiri Pirko
In patch one of this short series, a misplaced pointer star is moved to
the correct place.
In the second patch, we observe that if SPAN entries carry their
reference count anyway, it's redundant to also carry a "used" flag.
In the third patch, SPAN support
In setups like the following:
Host A --Host B
tun0 -- ipsec -- eth0 -- eth0 -- ipsec -- tun0
where tun0 are tunnel devices using dst_cache (ipip, ipip6, etc...).
Unregistration of an underlying eth0 device leads to the following log
messages:
unregister_netdevice:
On Mon, Feb 12, 2018 at 08:23:12PM +0100, Lubomir Rintel wrote:
> It will fail with EPERM on Linux 4.15.
>
> Signed-off-by: Lubomir Rintel
Acked-by: Phil Sutter
The person who reported this is on vacation right now. I will be back with more
detailed info in two weeks.
///jon
> -Original Message-
> From: netdev-ow...@vger.kernel.org [mailto:netdev-
> ow...@vger.kernel.org] On Behalf Of Peter Zijlstra
> Sent: Monday, February 12, 2018 16:17
> To:
Currently when user changes link properties, TIPC first checks if
user's command message contains media name or bearer name through
tipc_media_find() or tipc_bearer_find() which is protected by RTNL
lock. But when tipc_nl_compat_link_set() conducts the checking with
the two functions, it doesn't
This patch adds support for device tree.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/boot/dts/Makefile | 8
arch/nds32/boot/dts/ae3xx.dts | 85
Currently, the mutex is mostly used to protect pernet operations
list. It orders setup_net() and cleanup_net() with parallel
{un,}register_pernet_operations() calls, so ->exit{,batch} methods
of the same pernet operations are executed for a dying net, as
were used to call ->init methods, even
net_sem protects from pernet_list changing, while
ops_free_list() makes simple kfree(), and it can't
race with other pernet_operations callbacks.
So we may release net_mutex earlier then it was.
Signed-off-by: Kirill Tkhai
Acked-by: Andrei Vagin
---
This adds new pernet_operations::async flag to indicate operations,
which ->init(), ->exit() and ->exit_batch() methods are allowed
to be executed in parallel with the methods of any other pernet_operations.
When there are only asynchronous pernet_operations in the system,
net_mutex won't be
This patch starts to convert pernet_subsys, registered
before initcalls.
proc_net_ns_ops::proc_net_ns_init()/proc_net_ns_exit()
{un,}register pernet net->proc_net and ->proc_net_stat.
Constructors and destructors of another pernet_operations
are not interested in foreign net's proc_net and
This patch adds support for signal handling.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
---
arch/nds32/include/uapi/asm/sigcontext.h | 60 ++
arch/nds32/kernel/signal.c | 324 +++
2
This patch adds support for system calls.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Reviewed-by: Arnd Bergmann
---
arch/nds32/include/asm/syscall.h | 188 +++
This pernet_operations create and destroy net::genl_sock.
Foreign pernet_operations don't touch it.
Signed-off-by: Kirill Tkhai
Acked-by: Andrei Vagin
---
net/netlink/genetlink.c |1 +
1 file changed, 1 insertion(+)
diff --git
arp_net_ops just addr/removes /proc entry.
devinet_ops allocates and frees duplicate of init_net tables
and (un)registers sysctl entries.
fib_net_ops allocates and frees pernet tables, creates/destroys
netlink socket and (un)initializes /proc entries. Foreign
pernet_operations do not touch them.
Change "minimun" to "minimum".
Signed-off-by: Tobias Klauser
---
net/unix/af_unix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c
index d545e1d0dea2..2d465bdeccbc 100644
--- a/net/unix/af_unix.c
+++
From: Rick Chen
Add a document to describe Andestech atcpit100 timer and
binding information.
Signed-off-by: Rick Chen
Signed-off-by: Greentime Hu
Acked-by: Rob Herring
Acked-by: Arnd Bergmann
This patch adds nds32 CPU binding documents.
Signed-off-by: Vincent Chen
Signed-off-by: Rick Chen
Signed-off-by: Zong Li
Signed-off-by: Greentime Hu
Reviewed-by: Rob Herring
---
On Mon, Feb 12, 2018 at 4:26 PM, Dmitry Vyukov wrote:
> On Mon, Feb 12, 2018 at 4:23 PM, syzbot
> wrote:
>> Hello,
>>
>> syzbot hit the following crash on net-next commit
>> 9515a2e082f91457db0ecff4b65371d0fb5d9aad (Thu
psched_net_ops only creates and destroyes /proc entry,
and safe to be executed in parallel with any foreigh
pernet_operations.
tcf_action_net_ops initializes and destructs tcf_action_net::egdev_ht,
which is not touched by foreign pernet_operations.
So, make them async.
Signed-off-by: Kirill
Both of them create and initialize lists, which are not touched
by another foreing pernet_operations.
Signed-off-by: Kirill Tkhai
Acked-by: Andrei Vagin
---
net/core/fib_notifier.c |1 +
net/core/fib_rules.c|1 +
2 files changed, 2
This patch adds support for loadable modules.
Signed-off-by: Vincent Chen
Signed-off-by: Greentime Hu
Acked-by: Arnd Bergmann
---
arch/nds32/include/asm/module.h | 11 ++
arch/nds32/kernel/module.c | 278
rtnetlink_net_init() and rtnetlink_net_exit()
create and destroy netlink socket net::rtnl.
The socket is used to send rtnl notification via
rtnl_net_notifyid(). There is no a problem
to create and destroy it in parallel with other
pernet operations, as we link net in setup_net()
after the socket
uevent_net_init() and uevent_net_exit() create and
destroy netlink socket, and these actions serialized
in netlink code.
Parallel execution with other pernet_operations
makes the socket disappear earlier from uevent_sock_list
on ->exit. As userspace can't be interested in broadcast
messages of
This patch starts to convert pernet_subsys, registered
from subsys initcalls.
It seems safe to be executed in parallel with others,
as it's only creates/destoyes proc entry,
which nobody else is not interested in.
Signed-off-by: Kirill Tkhai
Acked-by: Andrei Vagin
There are:
1)dev_proc_ops and dev_mc_net_ops, which create and destroy
pernet proc file and not interesting for another net namespaces;
2)netdev_net_ops, which creates pernet hashes, which are not
touched by another pernet_operations.
So, make them async.
Signed-off-by: Kirill Tkhai
This patch starts to convert pernet_subsys, registered
from postcore initcalls.
audit_net_init() creates netlink socket, while audit_net_exit()
destroys it. The rest of the pernet_list are not interested
in the socket, so we make audit_net_ops async.
Signed-off-by: Kirill Tkhai
From: Wadim Egorov
The DP83867 has a muxing option for the CLK_OUT pin. It is possible
to set CLK_OUT for different channels.
Create a binding to select a specific clock for CLK_OUT pin.
Signed-off-by: Wadim Egorov
Signed-off-by: Daniel Schultz
This is the 7th version patchset to add the Linux kernel port for Andes(nds32)
processors. Almost all of the feedbacks from v6 patchseries has been addressed
and we rebase it to v4.16-rc1.
Thanks to everyone who provided feedback and help on the previous version.
This patchset adds core
These pernet operations consist of exit() and exit_batch() methods.
default_device_exit() moves not-local and virtual devices to init_net.
There is nothing exciting, because this may happen in any time
on a working system, and rtnl_lock() and synchronize_net() protect
us from all cases of
These pernet operations just create and destroy netlink
socket. The socket is pernet and else operations don't
touch it.
Signed-off-by: Kirill Tkhai
Acked-by: Andrei Vagin
---
net/core/sock_diag.c |1 +
1 file changed, 1 insertion(+)
diff --git
These pernet_operations have only init() method. It allocates
memory for net_device, calls register_netdev() and assigns
net::loopback_dev.
register_netdev() is allowed be used without additional locks,
as it's synchronized on rtnl_lock(). There are many examples
of using this functon directly
These pernet_operations create and destroy sysctl,
which are not touched by anybody else.
Signed-off-by: Kirill Tkhai
Acked-by: Andrei Vagin
---
net/ipv4/sysctl_net_ipv4.c |1 +
1 file changed, 1 insertion(+)
diff --git
From: Petr Machata
struct ip_tunnel_parm, where GRE and several other tunnel types hold
information, is IPv4-specific. The current router / ipip code in mlxsw
however uses it as if it were generic.
Make it clear that it's not. Rename many functions from _params_ to
From: Petr Machata
struct ip_tunnel_parm, which is used in spectrum_ipip.h, is defined in
if_tunnel.h. However, the former neglects to include the latter.
Signed-off-by: Petr Machata
Reviewed-by: Ido Schimmel
Signed-off-by: Jiri
From: Jiri Pirko
In the first patch, a forgotten #include is added. Even though the code
compiles as-is, the include is necessary for modules that should include
spectrum_ipip.h.
The second patch corrects an assumption that IPv6 tunnels use struct
ip_tunnel_parm to store
These pernet_operations register and destroy sysctl
directory, and it's not interesting for foreign
pernet_operations.
Signed-off-by: Kirill Tkhai
Acked-by: Andrei Vagin
---
net/core/sysctl_net_core.c |1 +
1 file changed, 1 insertion(+)
diff
1 - 100 of 319 matches
Mail list logo