Re: [PATCH v2 1/3] Bluetooth: hci_ll: add support for setting public address

2017-12-08 Thread Marcel Holtmann
Hi David, > This adds support for setting the public address on Texas Instruments > Bluetooth chips using a vendor-specific command. > > This has been tested on a CC2560A. The TI wiki also indicates that this > command should work on TI WL17xx/WL18xx Bluetooth chips. > > Signed-off-by: David

Re: [PATCH v2 3/3] Bluetooth: hci_ll: Add optional nvmem BD address source

2017-12-08 Thread Marcel Holtmann
Hi David, > This adds an optional nvmem consumer to get a BD address from an external > source. The BD address is then set in the Bluetooth chip after the > firmware has been loaded. > > This has been tested working with a TI CC2560A chip (in a LEGO MINDSTORMS > EV3). > > Signed-off-by: David

Re: [PATCH v2 2/3] dt-bindings: Add optional nvmem BD address bindings to ti,wlink-st

2017-12-08 Thread Marcel Holtmann
Hi David, > This adds optional nvmem consumer properties to the ti,wlink-st device tree > bindings to allow specifying the BD address. > > Signed-off-by: David Lechner > --- > > v2 changes: > * Renamed "mac-address" to "bd-address" > * Fixed typos in example > * Specify

Re: [PATCH v6 net-next,mips 0/7] Cavium OCTEON-III network driver.

2017-12-08 Thread Philippe Ombredanne
David, On Fri, Dec 8, 2017 at 1:09 AM, David Daney wrote: [] > Changes in v5: [] > o Removed redundant licensing text boilerplate. Thank you very much! Acked-by: Philippe Ombredanne -- Cordially Philippe Ombredanne, the licensing scruffy

Re: [PATCH v3 17/33] nds32: VDSO support

2017-12-08 Thread Marc Zyngier
On 08/12/17 11:54, Greentime Hu wrote: > Hi, Mark: > > 2017-12-08 18:21 GMT+08:00 Mark Rutland : >> On Fri, Dec 08, 2017 at 05:12:00PM +0800, Greentime Hu wrote: >>> From: Greentime Hu >>> >>> This patch adds VDSO support. The VDSO code is currently

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Andreas Hartmann
On 12/08/2017 at 12:40 PM Michal Kubecek wrote: > On Fri, Dec 08, 2017 at 11:31:50AM +0100, Andreas Hartmann wrote: >> On 12/08/2017 at 09:47 AM Michal Kubecek wrote: >>> On Fri, Dec 08, 2017 at 08:21:16AM +0100, Andreas Hartmann wrote: All my VMs are using virtio_net. BTW: I couldn't

[PATCHv2 net-next 07/12] sctp: implement ulpevent_data for sctp_stream_interleave

2017-12-08 Thread Xin Long
ulpevent_data is added as a member of sctp_stream_interleave, used to do the most process in ulpq, including to convert data or idata chunk to event, reasm them in reasm queue and put them in lobby queue in right order, and deliver them up to user sk rx queue. This procedure is described in

[PATCHv2 net-next 06/12] sctp: implement validate_data for sctp_stream_interleave

2017-12-08 Thread Xin Long
validate_data is added as a member of sctp_stream_interleave, used to validate ssn/chunk type for data or mid (message id)/chunk type for idata, called in sctp_eat_data. If this check fails, an abort packet will be sent, as said in section 2.2.3 of RFC8260. It also adds the process for idata in

[PATCHv2 net-next 02/12] sctp: add asoc intl_enable negotiation during 4 shakehands

2017-12-08 Thread Xin Long
asoc intl_enable will be set when local sp strm_interleave is set and there's I-DATA chunk in init and init_ack extensions, as said in section 2.2.1 of RFC8260. asoc intl_enable indicates all data will be sent as I-DATA chunks. Signed-off-by: Xin Long Acked-by: Marcelo

[PATCHv2 net-next 12/12] sctp: add support for the process of unordered idata

2017-12-08 Thread Xin Long
Unordered idata process is more complicated than unordered data: - It has to add mid into sctp_stream_out to save the next mid value, which is separated from ordered idata's. - To support pd for unordered idata, another mid and pd_mode need to be added to save the message id and pd state

[PATCHv2 net-next 09/12] sctp: implement renege_events for sctp_stream_interleave

2017-12-08 Thread Xin Long
renege_events is added as a member of sctp_stream_interleave, used to renege some old data or idata in reasm or lobby queue properly to free some memory for the new data when there's memory stress. It defines sctp_renege_events for idata, and leaves sctp_ulpq_renege as it is for data.

[PATCHv2 net-next 10/12] sctp: implement start_pd for sctp_stream_interleave

2017-12-08 Thread Xin Long
start_pd is added as a member of sctp_stream_interleave, used to do partial_delivery for data or idata when datalen >= asoc->rwnd in sctp_eat_data. The codes have been done in last patches, but they need to be extracted into start_pd, so that it could be used for SCTP_CMD_PART_DELIVER cmd as well.

Re: [PATCH v5 2/2] sock: Move the socket inuse to namespace.

2017-12-08 Thread Eric Dumazet
On Fri, 2017-12-08 at 19:29 +0800, Tonghao Zhang wrote: > hi all. we can add synchronize_rcu and rcu_barrier in > sock_inuse_exit_net to > ensure there are no outstanding rcu callbacks using this network > namespace. > we will not have to test if net->core.sock_inuse is NULL or not from >

Re: [PATCH v3 04/33] nds32: Kernel booting and initialization

2017-12-08 Thread Greentime Hu
Hi, Philippe: 2017-12-08 21:19 GMT+08:00 Philippe Ombredanne : > Dear Greentime, > > On Fri, Dec 8, 2017 at 10:11 AM, Greentime Hu wrote: >> From: Greentime Hu >> >> This patch includes the kernel startup code. It can get dtb

Re: [PATCH v2 net-next 4/4] bpftool: implement cgroup bpf operations

2017-12-08 Thread Philippe Ombredanne
On Fri, Dec 8, 2017 at 11:34 AM, Quentin Monnet wrote: > 2017-12-07 18:39 UTC+ ~ Roman Gushchin >> This patch adds basic cgroup bpf operations to bpftool: >> cgroup list, attach and detach commands. [...] >> --- /dev/null >> +++

[PATCH] Bluetooth: Prevent stack info leak from the EFS element.

2017-12-08 Thread Greg Kroah-Hartman
From: Ben Seri In the function l2cap_parse_conf_rsp and in the function l2cap_parse_conf_req the following variable is declared without initialization: struct l2cap_conf_efs efs; In addition, when parsing input configuration parameters in both of these functions, the switch

Re: [PATCH v3 17/33] nds32: VDSO support

2017-12-08 Thread Greentime Hu
Hi, Marc: 2017-12-08 20:29 GMT+08:00 Marc Zyngier : > On 08/12/17 11:54, Greentime Hu wrote: >> Hi, Mark: >> >> 2017-12-08 18:21 GMT+08:00 Mark Rutland : >>> On Fri, Dec 08, 2017 at 05:12:00PM +0800, Greentime Hu wrote: From: Greentime Hu

Re: NFS corruption, fixed by echo 1 > /proc/sys/vm/drop_caches -- next debugging steps?

2017-12-08 Thread Eric Dumazet
On Thu, Dec 7, 2017 at 11:54 PM, Matt Turner wrote: > On Thu, Dec 7, 2017 at 11:00 PM, Matt Turner wrote: >> On Sun, Mar 12, 2017 at 6:43 PM, Matt Turner wrote: >>> On a Broadcom BCM91250a MIPS system I can reliably trigger NFS >>>

Re: [PATCH v3 23/33] nds32: Generic timers support

2017-12-08 Thread Linus Walleij
On Fri, Dec 8, 2017 at 10:12 AM, Greentime Hu wrote: > From: Greentime Hu > > This patch adds support for timer. > > Signed-off-by: Vincent Chen > Signed-off-by: Greentime Hu Reviewed-by: Linus

Re: [PATCH v2 net-next 4/4] bpftool: implement cgroup bpf operations

2017-12-08 Thread Roman Gushchin
On Fri, Dec 08, 2017 at 10:34:16AM +, Quentin Monnet wrote: > 2017-12-07 18:39 UTC+ ~ Roman Gushchin > > This patch adds basic cgroup bpf operations to bpftool: > > cgroup list, attach and detach commands. > > > > Usage is described in the corresponding man pages, > > and

Re: [PATCH v3] leds: trigger: Introduce a NETDEV trigger

2017-12-08 Thread Pavel Machek
On Thu 2017-12-07 14:01:39, Philippe Ombredanne wrote: > Ben, > > On Thu, Dec 7, 2017 at 12:46 PM, Ben Whitten wrote: > > From: Ben Whitten > > > > This commit introduces a NETDEV trigger for named device > > activity. Available triggers are link,

Re: [PATCH v3 17/33] nds32: VDSO support

2017-12-08 Thread Greentime Hu
Hi, Mark: 2017-12-08 18:21 GMT+08:00 Mark Rutland : > On Fri, Dec 08, 2017 at 05:12:00PM +0800, Greentime Hu wrote: >> From: Greentime Hu >> >> This patch adds VDSO support. The VDSO code is currently used for >> sys_rt_sigreturn() and optimised

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Andreas Hartmann
On 12/08/2017 at 01:58 PM Michal Kubecek wrote: > On Fri, Dec 08, 2017 at 01:45:38PM +0100, Andreas Hartmann wrote: >> On 12/08/2017 at 12:40 PM Michal Kubecek wrote: >>> On Fri, Dec 08, 2017 at 11:31:50AM +0100, Andreas Hartmann wrote: When will there be a fix for 4.14? It is clearly a

Re: [PATCH v3 04/33] nds32: Kernel booting and initialization

2017-12-08 Thread Philippe Ombredanne
Dear Greentime, On Fri, Dec 8, 2017 at 10:11 AM, Greentime Hu wrote: > From: Greentime Hu > > 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

Re: NFS corruption, fixed by echo 1 > /proc/sys/vm/drop_caches -- next debugging steps?

2017-12-08 Thread Eric Dumazet
On Fri, 2017-12-08 at 05:42 -0800, Eric Dumazet wrote: > On Thu, Dec 7, 2017 at 11:54 PM, Matt Turner > wrote: > > On Thu, Dec 7, 2017 at 11:00 PM, Matt Turner > > wrote: > > > On Sun, Mar 12, 2017 at 6:43 PM, Matt Turner > > > wrote:

Re: [PATCH v2 net-next 4/4] bpftool: implement cgroup bpf operations

2017-12-08 Thread Roman Gushchin
On Thu, Dec 07, 2017 at 02:23:06PM -0800, Jakub Kicinski wrote: > On Thu, 7 Dec 2017 18:39:09 +, Roman Gushchin wrote: > > This patch adds basic cgroup bpf operations to bpftool: > > cgroup list, attach and detach commands. > > > > Usage is described in the corresponding man pages, > > and

pull-request: wireless-drivers 2017-12-08

2017-12-08 Thread Kalle Valo
Hi Dave, this is a pull request to net tree for 4.15, more info in the signed tag below. All small fixes and not really expecting any problems, but please let me know if you have any. Kalle The following changes since commit f859b4af1c52493ec21173ccc73d0b60029b5b88: sit: update frag_off info

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Michal Kubecek
On Fri, Dec 08, 2017 at 08:21:16AM +0100, Andreas Hartmann wrote: > > Thanks for this hint - I'm not using xdp. Therefore I rechecked my > bisect and detected a mistake. The rebisect now leads to > > > > [v2,RFC,11/13] net: Remove all references to SKB_GSO_UDP. [1] > > > > For the repeated

[PATCH net-next v4 1/2] net: add support for Cavium PTP coprocessor

2017-12-08 Thread Aleksey Makarov
From: Radoslaw Biernacki This patch adds support for the Precision Time Protocol Clocks and Timestamping hardware found on Cavium ThunderX processors. Signed-off-by: Radoslaw Biernacki Signed-off-by: Aleksey Makarov ---

[PATCH net-next v4 2/2] net: thunderx: add timestamping support

2017-12-08 Thread Aleksey Makarov
From: Sunil Goutham This adds timestamping support for both receive and transmit paths. On the receive side no filters are supported i.e either all pkts will get a timestamp appended infront of the packet or none. On the transmit side HW doesn't support timestamp insertion

Re: [PATCH] slip: sl_alloc(): remove unused parameter "dev_t line"

2017-12-08 Thread Marc Kleine-Budde
Hello Oliver, I've the corresponding slcan patch already in my queue. Marc On 12/08/2017 12:18 PM, Marc Kleine-Budde wrote: > The first and only parameter of sl_alloc() is unused, so remove it. > > Fixes: 5342b77c4123 slip: ("Clean up create and destroy") > Signed-off-by: Marc Kleine-Budde

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Michal Kubecek
On Fri, Dec 08, 2017 at 01:45:38PM +0100, Andreas Hartmann wrote: > On 12/08/2017 at 12:40 PM Michal Kubecek wrote: > > On Fri, Dec 08, 2017 at 11:31:50AM +0100, Andreas Hartmann wrote: > >> > >> When will there be a fix for 4.14? It is clearly a regression. Is > >> it possible / a good idea to

[PATCHv2 net-next 11/12] sctp: implement abort_pd for sctp_stream_interleave

2017-12-08 Thread Xin Long
abort_pd is added as a member of sctp_stream_interleave, used to abort partial delivery for data or idata, called in sctp_cmd_assoc_failed. Since stream interleave allows to do partial delivery for each stream at the same time, sctp_intl_abort_pd for idata would be very different from the old

[PATCH] dt-bindings: fec: Make the phy-reset-gpio polarity explicit

2017-12-08 Thread Fabio Estevam
From: Fabio Estevam The GPIO polarity passed to phy-reset-gpio is ignored by the FEC driver and it is assumed to be active low. It can be active high only when the 'phy-reset-active-high' property is present. The current examples pass active high polarity and work fine,

Re: [PATCH v3 17/33] nds32: VDSO support

2017-12-08 Thread Mark Rutland
On Fri, Dec 08, 2017 at 07:54:42PM +0800, Greentime Hu wrote: > 2017-12-08 18:21 GMT+08:00 Mark Rutland : > > On Fri, Dec 08, 2017 at 05:12:00PM +0800, Greentime Hu wrote: > >> +static int grab_timer_node_info(void) > >> +{ > >> + struct device_node *timer_node; > >> + >

[PATCHv2 net-next 04/12] sctp: implement make_datafrag for sctp_stream_interleave

2017-12-08 Thread Xin Long
To avoid hundreds of checks for the different process on I-DATA chunk, struct sctp_stream_interleave is defined as a group of functions used to replace the codes in some place where it needs to do different job according to if the asoc intl_enabled is set. With these ops, it only needs to

[PATCHv2 net-next 05/12] sctp: implement assign_number for sctp_stream_interleave

2017-12-08 Thread Xin Long
assign_number is added as a member of sctp_stream_interleave, used to assign ssn for data or mid (message id) for idata, called in sctp_packet_append_data. sctp_chunk_assign_ssn is left as it is, and sctp_chunk_assign_mid is added for sctp_stream_interleave_1. This procedure is described in

[PATCHv2 net-next 03/12] sctp: add basic structures and make chunk function for idata

2017-12-08 Thread Xin Long
sctp_idatahdr and sctp_idata_chunk are used to define and parse I-DATA chunk format, and sctp_make_idata is a function to build the chunk. The I-DATA Chunk Format is defined in section 2.1 of RFC8260. Signed-off-by: Xin Long Acked-by: Marcelo Ricardo Leitner

[PATCHv2 net-next 01/12] sctp: add stream interleave enable members and sockopt

2017-12-08 Thread Xin Long
This patch adds intl_enable in asoc and netns, and strm_interleave in sctp_sock to indicate if stream interleave is enabled and supported. netns intl_enable would be set via procfs, but that is not added yet until all stream interleave codes are completely implemented; asoc intl_enable will be

[PATCHv2 net-next 00/12] sctp: Implement Stream Interleave: The I-DATA Chunk Supporting User Message Interleaving

2017-12-08 Thread Xin Long
Stream Interleave would be Implemented in two Parts: 1. The I-DATA Chunk Supporting User Message Interleaving 2. Interaction with Other SCTP Extensions Overview in section 1.1 of RFC8260 for Part 1: This document describes a new chunk carrying payload data called I-DATA. This chunk

Re: [PATCH net-next v4 1/2] net: add support for Cavium PTP coprocessor

2017-12-08 Thread Philippe Ombredanne
Dear Aleksey, Dear Radoslaw, On Fri, Dec 8, 2017 at 11:34 AM, Aleksey Makarov wrote: > From: Radoslaw Biernacki > > This patch adds support for the Precision Time Protocol > Clocks and Timestamping hardware found on Cavium ThunderX > processors. >

RE: [PATCHv2 net-next 04/12] sctp: implement make_datafrag for sctp_stream_interleave

2017-12-08 Thread David Laight
From: Xin Long > Sent: 08 December 2017 13:04 ... > @@ -264,8 +264,8 @@ struct sctp_datamsg *sctp_datamsg_from_user(struct > sctp_association *asoc, > frag |= SCTP_DATA_SACK_IMM; > } > > - chunk = sctp_make_datafrag_empty(asoc, sinfo, len,

Re: [PATCH v3] leds: trigger: Introduce a NETDEV trigger

2017-12-08 Thread Philippe Ombredanne
Pavel, On Fri, Dec 8, 2017 at 3:27 PM, Pavel Machek wrote: > On Thu 2017-12-07 14:01:39, Philippe Ombredanne wrote: >> Ben, >> >> On Thu, Dec 7, 2017 at 12:46 PM, Ben Whitten wrote: >> > From: Ben Whitten >> > >> > This commit

[PATCH v3 29/33] dt-bindings: nds32 CPU Bindings

2017-12-08 Thread Greentime Hu
From: Greentime Hu 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 ---

[PATCH v3 25/33] nds32: Miscellaneous header files

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch introduces some miscellaneous header files. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/delay.h | 51 +++

[PATCH v3 32/33] irqchip: Andestech Internal Vector Interrupt Controller driver

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds the Andestech Internal Vector Interrupt Controller driver. You can find the spec here. Ch4.9 of AndeStar SPA V3 Manual. http://www.andestech.com/product.php?cls=9 Signed-off-by: Rick Chen Signed-off-by: Greentime

[PATCH v3 30/33] dt-bindings: nds32 SoC Bindings

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds nds32 SoC(AE3XX and AG101P) binding documents. Signed-off-by: Greentime Hu --- .../devicetree/bindings/nds32/andestech-boards | 40 1 file changed, 40 insertions(+) create mode

[PATCH v3 31/33] dt-bindings: interrupt-controller: Andestech Internal Vector Interrupt Controller

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds an irqchip driver document for the Andestech Internal Vector Interrupt Controller. Signed-off-by: Rick Chen Signed-off-by: Greentime Hu --- .../interrupt-controller/andestech,ativic32.txt

[PATCH v3 19/33] nds32: Library functions

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch add support for various library functions. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/string.h | 30 arch/nds32/include/asm/swab.h| 48

[PATCH v3 18/33] nds32: Signal handling support

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds support for signal handling. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/uapi/asm/sigcontext.h | 73 +++ arch/nds32/kernel/signal.c

Re: [PATCH v4.1] phylib: Add device reset GPIO support

2017-12-08 Thread Geert Uytterhoeven
Hi Sergei, On Thu, Dec 7, 2017 at 6:20 PM, Sergei Shtylyov wrote: > On 12/04/2017 03:35 PM, Geert Uytterhoeven wrote: >> From: Sergei Shtylyov >> The PHY devices sometimes do have their reset signal (maybe even power >>

From Precious

2017-12-08 Thread preciouskaz...@myself.com
Hello dear, My name is Precious, I saw your profile and I became interested in you, I would also like to know more about you, please contact me with this email address so that I can give you a so that you know who I am, because I have something very important to tell you. Precious.

Re: [PATCH v3 17/33] nds32: VDSO support

2017-12-08 Thread Mark Rutland
On Fri, Dec 08, 2017 at 05:12:00PM +0800, Greentime Hu wrote: > From: Greentime Hu > > This patch adds VDSO support. The VDSO code is currently used for > sys_rt_sigreturn() and optimised gettimeofday() (using the SoC timer counter). [...] > +static int

Re: [PATCH net 1/3] hv_netvsc: Correct the max receive buffer size

2017-12-08 Thread Dan Carpenter
On Thu, Dec 07, 2017 at 04:10:53PM -0800, Stephen Hemminger wrote: > From: Haiyang Zhang > > It should be 31 MB on recent host versions. > > Signed-off-by: Haiyang Zhang > Signed-off-by: Stephen Hemminger This is very

[PATCH] slip: sl_alloc(): remove unused parameter "dev_t line"

2017-12-08 Thread Marc Kleine-Budde
The first and only parameter of sl_alloc() is unused, so remove it. Fixes: 5342b77c4123 slip: ("Clean up create and destroy") Signed-off-by: Marc Kleine-Budde --- drivers/net/slip/slip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [PATCH net-next v2 3/8] net: phy: meson-gxl: add read and write helpers for bank registers

2017-12-08 Thread Russell King - ARM Linux
On Thu, Dec 07, 2017 at 05:02:35PM +0100, Andrew Lunn wrote: > > Banks actually comes from the datasheet, Yes. > > I don't mind renaming it but I would be making things up. As you wish ? > > Keep it as is for the moment. > > > Does the usual pages comes with this weird toggle thing to open the

[PATCH v3 27/33] nds32: Build infrastructure

2017-12-08 Thread Greentime Hu
From: Greentime Hu 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 | 108

[PATCH v3 33/33] net: faraday add nds32 support.

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch is used to support nds32 architecture to use these faraday mac IP. Signed-off-by: Greentime Hu --- drivers/net/ethernet/faraday/Kconfig |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git

[PATCH v3 08/33] nds32: MMU fault handling and page table management

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch includes page fault handler, mmap and fixup implementations. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/lib/copy_page.S | 50 ++ arch/nds32/mm/extable.c

[PATCH v3 09/33] nds32: Cache and TLB routines

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch contains cache and TLB maintenance functions. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/cache.h | 25 ++

[PATCH v3 06/33] nds32: MMU definitions

2017-12-08 Thread Greentime Hu
From: Greentime Hu 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

[PATCH v3 07/33] nds32: MMU initialization

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch includes memory initializations and highmem supporting. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/mm/highmem.c | 92 +++ arch/nds32/mm/init.c

Re: [PATCH nf-next RFC,v2 6/6] netfilter: nft_flow_offload: add ndo hooks for hardware offload

2017-12-08 Thread Florian Westphal
Pablo Neira Ayuso wrote: > The software flow table garbage collector skips entries that resides in > the hardware, so the hardware will be responsible for releasing this > flow table entry too via flow_offload_dead(). In the next garbage > collector run, this removes the

[PATCH net v3] net: phy: meson-gxl: detect LPA corruption

2017-12-08 Thread Jerome Brunet
The purpose of this change is to fix the incorrect detection of the link partner (LP) advertised capabilities which sometimes happens with this PHY (roughly 1 time in a dozen) This issue may cause the link to be negotiated at 10Mbps/Full or 10Mbps/Half when 100MBps/Full is actually possible. In

Re: [PATCH net-next 1/6] net: mvpp2: only free the TSO header buffers when it was allocated

2017-12-08 Thread Antoine Tenart
On Thu, Dec 07, 2017 at 02:53:29PM -0500, David Miller wrote: > From: Antoine Tenart > Date: Thu, 7 Dec 2017 09:48:58 +0100 > > > This patch adds a check to only free the TSO header buffer when its > > allocation previously succeeded. > > > > Signed-off-by:

[PATCH v3 00/33] Andes(nds32) Linux Kernel Port

2017-12-08 Thread Greentime Hu
This is the 3rd version patchset to add the Linux kernel port for Andes(nds32) processors. Almost all of the feedbacks from v2 patchseries has been addressed. Thanks to everyone who provided feedback on the previous version. This patchset adds core architecture support to Linux for Andestech's

[PATCH v3 21/33] nds32: L2 cache support

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds L2 cache support. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/l2_cache.h | 155 + arch/nds32/kernel/atl2c.c

Re: [PATCH v5 2/2] sock: Move the socket inuse to namespace.

2017-12-08 Thread Tonghao Zhang
On Fri, Dec 8, 2017 at 1:40 PM, Eric Dumazet wrote: > On Fri, 2017-12-08 at 13:28 +0800, Tonghao Zhang wrote: >> On Fri, Dec 8, 2017 at 1:20 AM, Eric Dumazet >> wrote: >> > On Thu, 2017-12-07 at 08:45 -0800, Tonghao Zhang wrote: >> > > In some

[PATCH v3 20/33] nds32: Debugging support

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds ptrace support. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/uapi/asm/ptrace.h | 38 arch/nds32/kernel/ptrace.c | 325

[PATCH v3 11/33] nds32: IRQ handling

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch includes irq related functions and irqchip_init(). Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/irqflags.h | 49

Re: [PATCH net 3/3] hv_netvsc: Fix the default receive buffer size

2017-12-08 Thread Dan Carpenter
On Thu, Dec 07, 2017 at 04:10:55PM -0800, Stephen Hemminger wrote: > From: Haiyang Zhang > > The intended size is 16 MB, and the default slot size is 1728. > So, NETVSC_DEFAULT_RX should be 16*1024*1024 / 1728 = 9709. > > Fixes: 5023a6db73196 ("netvsc: increase default

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Michal Kubecek
On Fri, Dec 08, 2017 at 11:31:50AM +0100, Andreas Hartmann wrote: > On 12/08/2017 at 09:47 AM Michal Kubecek wrote: > > On Fri, Dec 08, 2017 at 08:21:16AM +0100, Andreas Hartmann wrote: > >> > >> All my VMs are using virtio_net. BTW: I couldn't see the problems > >> (sometimes, the VM couldn't be

Re: kernel BUG at net/core/skbuff.c:LINE! (2)

2017-12-08 Thread Xin Long
On Fri, Dec 8, 2017 at 4:16 PM, syzbot wrote: > syzkaller has found reproducer for the following crash on > 82bcf1def3b5f1251177ad47c44f7e17af039b4b > git://git.cmpxchg.org/linux-mmots.git/master > compiler: gcc (GCC) 7.1.1

[PATCH v3 02/33] earlycon: add reg-offset to physical address before mapping

2017-12-08 Thread Greentime Hu
From: Greentime Hu 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 --- drivers/tty/serial/earlycon.c |3

[PATCH v3 03/33] nds32: Assembly macros and definitions

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch includes assembly macros, bit field definitions used in .S files across arch/nds32/. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/assembler.h | 52

[PATCH v3 04/33] nds32: Kernel booting and initialization

2017-12-08 Thread Greentime Hu
From: Greentime Hu 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:

[PATCH v3 22/33] nds32: Loadable modules

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds support for loadable modules. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/module.h | 24 arch/nds32/kernel/module.c | 299

[PATCH v3 01/33] asm-generic/io.h: move ioremap_nocache/ioremap_uc/ioremap_wc/ioremap_wt out of ifndef CONFIG_MMU

2017-12-08 Thread Greentime Hu
From: Greentime Hu It allows some architectures to use this generic macro instead of defining theirs. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- include/asm-generic/io.h | 18 +- 1

Re: [PATCH net 3/4] net: aquantia: Improve and fix statistics on device

2017-12-08 Thread Igor Russkikh
Hi Andrew, >> 1) Device hardware provides only 32bit counters. Using these directly >> causes byte counters to overflow soon. A separate nic level structure >> with 64 bit counters is now used to collect incrementally all the stats >> and report these counters to ethtool stats and ndev stats. >>

[PATCH v3 16/33] nds32: System calls handling

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds support for system calls. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/syscall.h | 203 ++

[PATCH v3 15/33] nds32: ELF definitions

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds definitions for the ELF format, relocation types, vdso locations and EXEC_PAGESIZE. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/elf.h |

[PATCH v3 14/33] nds32: DMA mapping API

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds support for the DMA mapping API. It uses dma_map_ops for flexibility. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/dma-mapping.h | 27 ++

Re: [PATCH 4/7 v2] net: ethernet: i825xx: Fix platform_get_irq's error checking

2017-12-08 Thread arvindY
Hi David, On Wednesday 06 December 2017 05:49 PM, Sergei Shtylyov wrote: On 12/05/2017 06:49 PM, David Miller wrote: From: Arvind Yadav Date: Mon, 4 Dec 2017 23:18:20 +0530 @@ -120,9 +120,10 @@ static int sni_82596_probe(struct platform_device *dev)

Re: [PATCH net 2/4] net: aquantia: Fix hardware DMA stream overload on large MRRS

2017-12-08 Thread Igor Russkikh
Hi David! >> +#define pci_reg_control6_adr 0x1014u >> + > CPP macros, especially those which define register numbers or bit > valus, should never use lowercase. They should always use uppercase > names. > > This is a coding style convention we use in the entire kernel which > makes it easy to

Re: [PATCH nf-next RFC,v2 4/6] netfilter: flow table support for IPv4

2017-12-08 Thread Florian Westphal
Pablo Neira Ayuso wrote: > This patch adds the IPv4 flow table type, that implements the datapath > flow table to forward IPv4 traffic. Rationale is: > > 1) Look up for the packet in the flow table, from the ingress hook. > 2) If there's a hit, decrement ttl and pass it on

Re: [PATCH v5 2/2] sock: Move the socket inuse to namespace.

2017-12-08 Thread Tonghao Zhang
hi all. we can add synchronize_rcu and rcu_barrier in sock_inuse_exit_net to ensure there are no outstanding rcu callbacks using this network namespace. we will not have to test if net->core.sock_inuse is NULL or not from sock_inuse_add(). :) static void __net_exit sock_inuse_exit_net(struct net

[PATCH v3 28/33] MAINTAINERS: Add nds32

2017-12-08 Thread Greentime Hu
From: Greentime Hu Signed-off-by: Greentime Hu --- MAINTAINERS | 11 +++ 1 file changed, 11 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2f4e462..20284c8 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -857,6 +857,17 @@

[PATCH v3 26/33] nds32: defconfig

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds nds32 defconfig. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/configs/defconfig | 108 ++ 1 file changed, 108

[PATCH v3 10/33] nds32: Process management

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch includes copy_thread(), start_thread() implementation and cpu_context structure definition. nds32 uses $r25 to get current task_struct. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu

[PATCH v3 13/33] nds32: Device specific operations

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch introduces ioremap implementations. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/include/asm/io.h | 96 +++

[PATCH v3 12/33] nds32: Atomic operations

2017-12-08 Thread Greentime Hu
From: Greentime Hu 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

Re: [PATCH v3 24/33] nds32: Device tree support

2017-12-08 Thread Mark Rutland
On Fri, Dec 08, 2017 at 05:12:07PM +0800, Greentime Hu wrote: > + timer0: timer@f040 { > + compatible = "andestech,atcpit100"; > + reg = <0xf040 0x1000>; > + interrupts = <2>; > + clocks = <_pll>; > + clock-names = "apb_pclk";

Re: [PATCH v2 net-next 3/4] bpftool: implement prog load command

2017-12-08 Thread Quentin Monnet
2017-12-07 18:39 UTC+ ~ Roman Gushchin > Add the prog load command to load a bpf program from a specified > binary file and pin it to bpffs. > > Usage description and examples are given in the corresponding man > page. > > Syntax: > $ bpftool prog load SOURCE_FILE FILE > >

Re: [PATCH v2 net-next 4/4] bpftool: implement cgroup bpf operations

2017-12-08 Thread Quentin Monnet
2017-12-07 18:39 UTC+ ~ Roman Gushchin > This patch adds basic cgroup bpf operations to bpftool: > cgroup list, attach and detach commands. > > Usage is described in the corresponding man pages, > and examples are provided. > > Syntax: > $ bpftool cgroup list CGROUP > $ bpftool

[PATCH net-next v4 0/2] net: thunderx: add support for PTP clock

2017-12-08 Thread Aleksey Makarov
This series adds support for IEEE 1588 Precision Time Protocol to Cavium ethernet driver. The first patch adds support for the Precision Time Protocol Clocks and Timestamping coprocessor (PTP) found on Cavium processors. It registers a new PTP clock in the PTP core and provides functions to use

Re: [PATCH v2 net-next 1/4] libbpf: add ability to guess program type based on section name

2017-12-08 Thread Quentin Monnet
2017-12-07 18:39 UTC+ ~ Roman Gushchin > The bpf_prog_load() function will guess program type if it's not > specified explicitly. This functionality will be used to implement > loading of different programs without asking a user to specify > the program type. In first order it

Re: Linux 4.14 - regression: broken tun/tap / bridge network with virtio - bisected

2017-12-08 Thread Andreas Hartmann
On 12/08/2017 at 09:47 AM Michal Kubecek wrote: > On Fri, Dec 08, 2017 at 08:21:16AM +0100, Andreas Hartmann wrote: >> >> Thanks for this hint - I'm not using xdp. Therefore I rechecked my >> bisect and detected a mistake. The rebisect now leads to >> >> >> >> [v2,RFC,11/13] net: Remove all

[PATCH net] net: mvpp2: fix the RSS table entry offset

2017-12-08 Thread Antoine Tenart
The macro used to access or set an RSS table entry was using an offset of 8, while it should use an offset of 0. This lead to wrongly configure the RSS table, not accessing the right entries. Fixes: 1d7d15d79fb4 ("net: mvpp2: initialize the RSS tables") Signed-off-by: Antoine Tenart

[PATCH v3 23/33] nds32: Generic timers support

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds support for timer. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/kernel/time.c | 24 1 file changed, 24 insertions(+) create mode

[PATCH v3 24/33] nds32: Device tree support

2017-12-08 Thread Greentime Hu
From: Greentime Hu This patch adds support for device tree. Signed-off-by: Vincent Chen Signed-off-by: Greentime Hu --- arch/nds32/boot/dts/Makefile |8 + arch/nds32/boot/dts/ae3xx.dts | 67

  1   2   3   >