Re: [net-next v2] ipv6: sr: Add documentation for seg_flowlabel sysctl

2018-04-27 Thread David Miller
From: Ahmed Abdelsalam Date: Fri, 27 Apr 2018 17:51:48 +0200 > This patch adds a documentation for seg_flowlabel sysctl into > Documentation/networking/ip-sysctl.txt > > Signed-off-by: Ahmed Abdelsalam Applied, thank you. -- To unsubscribe from this

Re: [PATCH] filter.txt: update 'tools/net/' to 'tools/bpf/'

2018-04-15 Thread David Miller
From: Wang Sheng-Hui Date: Sun, 15 Apr 2018 16:07:12 +0800 > The tools are located at tootls/bpf/ instead of tools/net/. > Update the filter.txt doc. > > Signed-off-by: Wang Sheng-Hui Applied, thank you. -- To unsubscribe from this list: send the line

Re: [PATCH v12 10/11] sparc64: Add support for ADI (Application Data Integrity)

2018-02-23 Thread David Miller
From: Khalid Aziz Date: Fri, 23 Feb 2018 11:51:25 -0700 > On 02/22/2018 07:50 PM, kbuild test robot wrote: >> Hi Khalid, >> I love your patch! Yet something to improve: >> [auto build test ERROR on sparc-next/master] >> [also build test ERROR on v4.16-rc2] >> [cannot

Re: [PATCHv2 0/5] pktgen: Behavior flags fixes

2018-01-24 Thread David Miller
From: Dmitry Safonov <d...@arista.com> Date: Thu, 18 Jan 2018 18:31:32 + > v2: > o fixed a nitpick from David Miller > > There are a bunch of fixes/cleanups/Documentations. > Diffstat says for itself, regardless added docs and missed flag > parameters. Series ap

Re: [PATCH] docs-rst: networking: wire up msg_zerocopy

2018-01-09 Thread David Miller
From: Mike Rapoport Date: Mon, 8 Jan 2018 08:50:17 +0200 > Fix the following 'make htmldocs' complaint: > > Documentation/networking/msg_zerocopy.rst:: WARNING: document isn't included > in any toctree. > > Signed-off-by: Mike Rapoport

Re: [PATCH] docs-rst: networking: wire up msg_zerocopy

2018-01-09 Thread David Miller
From: Jonathan Corbet <cor...@lwn.net> Date: Tue, 9 Jan 2018 09:55:27 -0700 > On Tue, 09 Jan 2018 11:50:49 -0500 (EST) > David Miller <da...@davemloft.net> wrote: > >> From: Mike Rapoport <r...@linux.vnet.ibm.com> >> Date: Mon, 8 Jan 2018 08:50:17 +0200 &g

Re: [PATCH] docs-rst: networking: wire up msg_zerocopy

2018-01-09 Thread David Miller
From: Mike Rapoport Date: Mon, 8 Jan 2018 08:50:17 +0200 > Fix the following 'make htmldocs' complaint: > > Documentation/networking/msg_zerocopy.rst:: WARNING: document isn't included > in any toctree. > > Signed-off-by: Mike Rapoport Does

Re: [PATCH net] ipv6: fix net.ipv6.conf.all interface DAD handlers

2017-09-19 Thread David Miller
From: Matteo Croce Date: Tue, 12 Sep 2017 17:46:37 +0200 > Currently, writing into > net.ipv6.conf.all.{accept_dad,use_optimistic,optimistic_dad} has no effect. > Fix handling of these flags by: > > - using the maximum of global and per-interface values for the > accept_dad

Re: [PATCH] Documentation: link in networking docs

2017-09-16 Thread David Miller
From: Pavel Machek Date: Sat, 16 Sep 2017 16:28:02 +0200 > Fix link in filter.txt. > > Acked-by: Pavel Machek Applied, thanks Pavel. -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH net] ipv6: fix net.ipv6.conf.all interface DAD handlers

2017-09-15 Thread David Miller
From: Matteo Croce Date: Tue, 12 Sep 2017 17:46:37 +0200 > Currently, writing into > net.ipv6.conf.all.{accept_dad,use_optimistic,optimistic_dad} has no effect. > Fix handling of these flags by: > > - using the maximum of global and per-interface values for the > accept_dad

Re: [PATCH v7 9/9] sparc64: Add support for ADI (Application Data Integrity)

2017-09-05 Thread David Miller
From: Pavel Machek Date: Mon, 4 Sep 2017 18:25:30 +0200 > Will gcc be able to compile code that uses these automatically? That > does not sound easy to me. Can libc automatically use this in malloc() > to prevent accessing freed data when buffers are overrun? > > Is this for

Re: [PATCH v7 9/9] sparc64: Add support for ADI (Application Data Integrity)

2017-08-30 Thread David Miller
From: Khalid Aziz Date: Wed, 30 Aug 2017 17:23:37 -0600 > That is an interesting idea. This would enable TSTATE_MCDE on all > threads of a process as soon as one thread enables it. If we consider > the case where the parent creates a shared memory area and spawns a >

Re: [PATCH v7 9/9] sparc64: Add support for ADI (Application Data Integrity)

2017-08-30 Thread David Miller
From: Khalid Aziz Date: Wed, 30 Aug 2017 16:27:54 -0600 >>> +#define arch_calc_vm_prot_bits(prot, pkey) >>> sparc_calc_vm_prot_bits(prot) >>> +static inline unsigned long sparc_calc_vm_prot_bits(unsigned long >>> prot) >>> +{ >>> + if (prot & PROT_ADI) { >>> +

Re: [PATCH] switchdev: documentation: minor typo fixes

2017-08-20 Thread David Miller
From: Chris Packham Date: Mon, 21 Aug 2017 08:52:54 +1200 > Two typos in switchdev.txt > > Signed-off-by: Chris Packham Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a

Re: [PATCH v7 9/9] sparc64: Add support for ADI (Application Data Integrity)

2017-08-15 Thread David Miller
From: Khalid Aziz Date: Wed, 9 Aug 2017 15:26:02 -0600 > +void adi_restore_tags(struct mm_struct *mm, struct vm_area_struct *vma, > + unsigned long addr, pte_t pte) > +{ ... > + tag = tag_start(addr, tag_desc); > + paddr = pte_val(pte) &

Re: [PATCH net-next v3 0/3] netvsc: transparent VF support

2017-08-02 Thread David Miller
From: Stephen Hemminger Date: Tue, 1 Aug 2017 19:58:52 -0700 > This patch set changes how SR-IOV Virtual Function devices are managed > in the Hyper-V network driver. This version is rebased onto current net-next. ... Series applied, thanks Stephen. -- To

Re: [PATCH net-next v2 0/3] netvsc: transparent SR-IOV VF support

2017-08-01 Thread David Miller
From: Stephen Hemminger Date: Mon, 31 Jul 2017 16:45:21 -0700 > This patch set changes how SR-IOV Virtual Function devices are managed > in the Hyper-V network driver. It was part of earlier bundle, but > is now updated. I think you need to do a rebase. I just

Re: [PATCH net-next v2 00/10] netvsc fixes and new features

2017-07-27 Thread David Miller
From: Stephen Hemminger Date: Wed, 26 Jul 2017 16:40:19 -0700 > The next group of patches aims to reduce the driver memory footprint > by reducing the size of the per-device receive and send buffers, and > the per-channel receive completion queue. Sorry Stephen, I

Re: [PATCH net-next v2 01/10] net: dsa: lan9303: Fixed MDIO interface

2017-07-26 Thread David Miller
From: Andrew Lunn Date: Wed, 26 Jul 2017 19:52:24 +0200 >> > So I really want to group the patches into only a few series in order >> > to not spend months on the process. > > I strongly agree with Vivien here. Good patches get accepted in about > 3 days. You should expect

Re: [PATCH 00/13] net: dsa: lan9303: unicast offload, fdb,mdb,STP

2017-07-24 Thread David Miller
From: Egil Hjelmeland Date: Mon, 24 Jul 2017 16:47:51 +0200 > This is my first patches submitted to the kernel, so I am looking > forward to comments. Please clean up how the dates are handled in your submission. They are all over the place, over a period of 3

Re: [PATCH net 0/2] minor net kernel-doc fixes

2017-07-12 Thread David Miller
From: Stephen Hemminger Date: Wed, 12 Jul 2017 09:29:05 -0700 > Fix a couple of small errors in kernel-doc for networking Series applied, thanks Stephen. -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to

Re: [PATCH v2] Documentation: fix wrong example command

2017-07-03 Thread David Miller
From: Matteo Croce Date: Fri, 30 Jun 2017 18:21:47 +0200 > In the IPVLAN documentation there is an example command line where the > master and slave interface names are inverted. > Fix the command line and also add the optional `name' keyword to better > describe what the

Re: [PATCH v1] net: phy: Delete unused function phy_ethtool_gset

2017-06-06 Thread David Miller
From: Yuval Shaia Date: Mon, 5 Jun 2017 10:18:40 +0300 > It's unused, so remove it. > > Signed-off-by: Yuval Shaia > --- > v0 -> v1: > * Add commit message > * Update Documentation/networking/phy.txt > * Modify commit header

Re: [PATCH] net: Update TCP congestion control documentation

2017-06-05 Thread David Miller
From: Anmol Sarma Date: Sat, 3 Jun 2017 17:40:54 +0530 > Update tcp.txt to fix mandatory congestion control ops and default > CCA selection. Also, fix comment in tcp.h for undo_cwnd. > > Signed-off-by: Anmol Sarma Applied, thank you. -- To unsubscribe

Re: [PATCH] Documentation: Fix dead URLs to ftp.kernel.org

2017-03-26 Thread David Miller
From: Jonathan Corbet Date: Sun, 26 Mar 2017 13:11:15 -0600 > On Sun, 26 Mar 2017 23:25:50 +0900 > SeongJae Park wrote: > > CC += davem > > If nobody objects, I'll just take this through the docs tree. No objection from me: Acked-by: David S. Miller

Re: [PATCH] cdrom: Make device operations read-only

2017-02-13 Thread David Miller
From: Kees Cook Date: Mon, 13 Feb 2017 16:25:26 -0800 > diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c > index 9cbd217bc0c9..ab9232e1e16f 100644 > --- a/drivers/ide/ide-cd.c > +++ b/drivers/ide/ide-cd.c > @@ -1166,7 +1166,7 @@ void

Re: [PATCH v5 4/4] sparc64: Add support for ADI (Application Data Integrity)

2017-02-01 Thread David Miller
From: Khalid Aziz Date: Tue, 31 Jan 2017 16:38:49 -0700 > Thanks for the feedback. This is very helpful. I checked and it indeed > can cost 50+ cycles even on M7 processor for PSTATE accesses. Consider how many bytes can be copied in 50+ cycles :-) >> On etrap, you

Re: [PATCH v5 4/4] sparc64: Add support for ADI (Application Data Integrity)

2017-01-30 Thread David Miller
From: Khalid Aziz Date: Wed, 25 Jan 2017 12:57:16 -0700 > +static inline void enable_adi(void) > +{ ... > + __asm__ __volatile__( > + "rdpr %%pstate, %%g1\n\t" > + "or %%g1, %0, %%g1\n\t" > + "wrpr %%g1, %%g0, %%pstate\n\t" > +

Re: [PATCH v5 4/4] sparc64: Add support for ADI (Application Data Integrity)

2017-01-25 Thread David Miller
From: Rob Gardner Date: Wed, 25 Jan 2017 15:00:42 -0700 > Same comment here, and the various other places that employ this same > code construct. Please do not quote an entire huge patch just to comment on a small part of it. Quote only the minimum necessary context in

Re: [PATCH v4 4/4] sparc64: Add support for ADI (Application Data Integrity)

2017-01-17 Thread David Miller
From: Khalid Aziz <khalid.a...@oracle.com> Date: Tue, 17 Jan 2017 12:32:46 -0700 > On 01/16/2017 09:39 PM, David Miller wrote: >> From: Khalid Aziz <khalid.a...@oracle.com> >> Date: Wed, 11 Jan 2017 09:12:54 -0700 >> >>> + __asm__ __volatile__(

Re: [PATCH v4 0/4] Application Data Integrity feature introduced by SPARC M7

2017-01-16 Thread David Miller
From: Dave Hansen Date: Wed, 11 Jan 2017 08:33:30 -0800 > Is there a cost in the hardware associated with doing this "ADI > checking"? For instance, instead of having this new mprotect() > interface, why not just always set TTE.mcd on all PTEs? If we did this then

Re: [PATCH v4 0/4] Application Data Integrity feature introduced by SPARC M7

2017-01-16 Thread David Miller
From: Dave Hansen Date: Wed, 11 Jan 2017 10:13:54 -0800 > For memory shared by two different processes, do they have to agree on > what the tags are, or can they differ? Whoever allocates the memory (does the mmap()+mprotect() or whatever), decides on the tag. They

Re: [PATCH v4 4/4] sparc64: Add support for ADI (Application Data Integrity)

2017-01-16 Thread David Miller
From: Khalid Aziz Date: Wed, 11 Jan 2017 09:12:54 -0700 > + __asm__ __volatile__( > + ".word 0xa1438000\n\t" /* rd %mcdper, %l0 */ Just use "rd %%asr14, %0" this way you don't have to play all of these fixed register games which kill the

Re: [RFC PATCH v3] sparc64: Add support for Application Data Integrity (ADI)

2017-01-06 Thread David Miller
From: Dave Hansen Date: Fri, 6 Jan 2017 08:55:03 -0800 > Actually, that reminds me... How does your code interface with ksm? Or > is there no interaction needed since you're always working on virtual > addresses? This reminds me, I consider this feature

Re: [RFC PATCH v3] sparc64: Add support for Application Data Integrity (ADI)

2017-01-06 Thread David Miller
From: Khalid Aziz Date: Fri, 6 Jan 2017 09:22:13 -0700 > On 01/06/2017 08:36 AM, Dave Hansen wrote: >> On 01/06/2017 07:32 AM, Khalid Aziz wrote: >>> I agree with you on simplicity first. Subpage granularity is complex, >>> but the architecture allows for subpage

Re: [PATCH v3 0/6] net: stmmac: make DMA programmable burst length more configurable

2016-12-08 Thread David Miller
From: Niklas Cassel Date: Wed, 7 Dec 2016 15:20:02 +0100 > Make DMA programmable burst length more configurable in the stmmac driver. > > This is done by adding support for independent pbl for tx/rx through DT. > More fine grained tuning of pbl is possible thanks to a DT

Re: [PATCH net-next] Documentation/networking: update git urls to use https over http

2016-10-14 Thread David Miller
From: Alexander Alemayhu Date: Thu, 13 Oct 2016 17:09:51 +0200 > This fixes the following errors when trying to clone the urls: > > Cloning into 'net'... > fatal: repository > 'http://git.kernel.org/cgit/linux/kernel/git/davem/net.git/' not found > Cloning into

Re: [PATCH v8 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-09-29 Thread David Miller
From: Amir Levy Date: Wed, 28 Sep 2016 17:44:22 +0300 > This driver enables Thunderbolt Networking on non-Apple platforms > running Linux. Greg, any idea where this should get merged once fully vetted? I can take it through the net-next tree, but I'm fine with another

Re: sparc: bpf_jit: Rename jump labels in bpf_jit_compile()

2016-09-04 Thread David Miller
From: SF Markus Elfring Date: Sun, 4 Sep 2016 09:20:55 +0200 > I guess that I will stumble on more software improvement opportunities > you find harder to become comfortable with. Improvement is a matter of opinion. So your statement assumes that your changes are

Re: sparc: bpf_jit: Rename jump labels in bpf_jit_compile()

2016-09-04 Thread David Miller
From: SF Markus Elfring Date: Sun, 4 Sep 2016 08:50:20 +0200 >>> NAK, just noise. >> >> And frankly I hate that leading space. > > Would you like to comment the recent update of the document "CodingStyle" any > more? >

Re: [PATCH v5 6/8] thunderbolt: Networking transmit and receive

2016-07-31 Thread David Miller
From: "Levy, Amir (Jer)" Date: Sun, 31 Jul 2016 10:15:52 + > The network stack thinks it is Ethernet, it might not accept Runt > frames, so the driver pads the frame in receive. The network stack doesn't care about this at all. It's wasted effort on your part. --

Re: [PATCH 01/23] all: syscall wrappers: add documentation

2016-05-25 Thread David Miller
From: Arnd Bergmann <a...@arndb.de> Date: Wed, 25 May 2016 23:01:06 +0200 > On Wednesday, May 25, 2016 1:50:39 PM CEST David Miller wrote: >> From: Arnd Bergmann <a...@arndb.de> >> Date: Wed, 25 May 2016 22:47:33 +0200 >> >> > If we use the n

Re: [PATCH 01/23] all: syscall wrappers: add documentation

2016-05-25 Thread David Miller
From: Arnd Bergmann Date: Wed, 25 May 2016 22:47:33 +0200 > If we use the normal calling conventions, we could remove these overrides > along with the respective special-case handling in glibc. None of them > look particularly performance-sensitive, but I could be wrong there.

Re: [PATCH 01/23] all: syscall wrappers: add documentation

2016-05-25 Thread David Miller
From: Yury Norov <yno...@caviumnetworks.com> Date: Wed, 25 May 2016 23:03:27 +0300 > On Wed, May 25, 2016 at 12:30:17PM -0700, David Miller wrote: >> From: Yury Norov <yno...@caviumnetworks.com> >> Date: Tue, 24 May 2016 03:04:30 +0300 >> >> > +To

Re: [PATCH 0043/1529] Fix typo

2016-05-21 Thread David Miller
I'm not applying a ton of patches that all have the same Subject line. How can anyone looking at the GIT shortlog figure out what might be different amongst any of these 1529 patches? You must prefix your Subject line with the subsystem or area that your patch is changing, followed by a colon

Re: [PATCH] [linux-next] Doc: networking: Fix typo in dsa

2016-04-13 Thread David Miller
From: Masanari Iida Date: Sat, 9 Apr 2016 00:00:25 +0900 > This patch fix typos in Documentation/networking/dsa. > > Signed-off-by: Masanari Iida Applied. -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-08 Thread David Miller
From: Khalid Aziz <khalid.a...@oracle.com> Date: Tue, 8 Mar 2016 13:16:11 -0700 > On 03/08/2016 12:57 PM, David Miller wrote: >> From: Khalid Aziz <khalid.a...@oracle.com> >> Date: Mon, 7 Mar 2016 14:06:43 -0700 >> >>> Good questions. Isn't set of valid V

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread David Miller
From: Andy Lutomirski Date: Mon, 7 Mar 2016 10:53:23 -0800 > x86 has an upcoming feature called protection keys. A page of virtual > memory has a protection key, which is a number from 0 through 16. The > master copy is in the PTE, i.e. page table entry, which is a >

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread David Miller
From: Andy Lutomirski Date: Mon, 7 Mar 2016 10:49:57 -0800 > What data structure or structures changes when this stxa instruction happens? An internal table, maintained by the CPU and/or hypervisor, and if in physical addresses then in a region which is only accessible by

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread David Miller
From: Khalid Aziz Date: Mon, 7 Mar 2016 11:24:54 -0700 > Tags can be cleared by user by setting tag to 0. Tags are > automatically cleared by the hardware when the mapping for a virtual > address is removed from TSB (which is why swappable pages are a > problem), so

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread David Miller
From: Dave Hansen Date: Mon, 7 Mar 2016 09:35:57 -0800 > On 03/02/2016 12:39 PM, Khalid Aziz wrote: >> +long enable_sparc_adi(unsigned long addr, unsigned long len) >> +{ >> +unsigned long end, pagemask; >> +int error; >> +struct vm_area_struct *vma, *vma2; >>

Re: [PATCH v2] sparc64: Add support for Application Data Integrity (ADI)

2016-03-07 Thread David Miller
From: Khalid Aziz Date: Mon, 7 Mar 2016 08:07:53 -0700 > I can remove CONFIG_SPARC_ADI. It does mean this code will be built > into 32-bit kernels as well but it will be inactive code. The code should be built only into obj-$(CONFIG_SPARC64) just like the rest of the

Re: [PATCH 2/2] isdn: i4l: move active-isdn drivers to staging

2016-03-03 Thread David Miller
From: Arnd Bergmann Date: Wed, 2 Mar 2016 20:06:46 +0100 > The icn, act2000 and pcbit drivers are all for very old hardware, > and it is highly unlikely that anyone is actually still using them > on modern kernels, if at all. > > All three drivers apparently are for hardware