Re: [PATCH 1/2] docs: driver-api: Move bt8xxgpio to the gpio directory

2019-10-09 Thread Linus Walleij
On Fri, Oct 4, 2019 at 6:41 PM Jonathan Neuschäfer wrote: > Let's declutter Documentation/driver-api a bit. > > Signed-off-by: Jonathan Neuschäfer Patch applied. Yours, Linus Walleij

Re: [PATCH 2/2] docs: driver-api: bt8xxgpio: Revive dead link

2019-10-09 Thread Linus Walleij
On Fri, Oct 4, 2019 at 6:42 PM Jonathan Neuschäfer wrote: > www.bu3sch.de has been unusable for several years, but the same > information is available on bues.ch. > > Cc: Michael Buesch > Signed-off-by: Jonathan Neuschäfer Patch applied. Yours, Linus Walleij

Re: [PATCH] Documentation: admin-guide: add earlycon documentation for the sifive serial driver

2019-10-09 Thread Andreas Schwab
On Okt 09 2019, Geert Uytterhoeven wrote: > I believe risc-v is DT-only, so if chosen/stdout-path is set up If. Currently, it isn't. Andreas. -- Andreas Schwab, SUSE Labs, sch...@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completel

[PATCH v8 3/5] mfd: ioc3: Add driver for SGI IOC3 chip

2019-10-09 Thread Thomas Bogendoerfer
SGI IOC3 chip has integrated ethernet, keyboard and mouse interface. It also supports connecting a SuperIO chip for serial and parallel interfaces. IOC3 is used inside various SGI systemboards and add-on cards with different equipped external interfaces. Support for ethernet and serial interfaces

[PATCH v8 5/5] MIPS: SGI-IP27: Enable ethernet phy on second Origin 200 module

2019-10-09 Thread Thomas Bogendoerfer
PROM only enables ethernet PHY on first Origin 200 module, so we must do it ourselves for the second module. Signed-off-by: Thomas Bogendoerfer --- arch/mips/pci/pci-ip27.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/arch/mips/pci/pci-ip27.c b/arch/mips/pci/pci-ip

[PATCH v8 2/5] MIPS: PCI: use information from 1-wire PROM for IOC3 detection

2019-10-09 Thread Thomas Bogendoerfer
IOC3 chips in SGI system are conntected to a bridge ASIC, which has a 1-wire prom attached with part number information. This changeset uses this information to create PCI subsystem information, which the MFD driver uses for further platform device setup. Signed-off-by: Thomas Bogendoerfer --- a

[PATCH v8 1/5] nvmem: core: add nvmem_device_find

2019-10-09 Thread Thomas Bogendoerfer
nvmem_device_find provides a way to search for nvmem devices with the help of a match function simlair to bus_find_device. Reviewed-by: Srinivas Kandagatla Acked-by: Srinivas Kandagatla Signed-off-by: Thomas Bogendoerfer --- Documentation/driver-api/nvmem.rst | 2 ++ drivers/nvmem/core.c

[PATCH v8 4/5] MIPS: SGI-IP27: fix readb/writeb addressing

2019-10-09 Thread Thomas Bogendoerfer
Our chosen byte swapping, which is what firmware already uses, is to do readl/writel by normal lw/sw intructions (data invariance). This also means we need to mangle addresses for u8 and u16 accesses. The mangling for 16bit has been done aready, but 8bit one was missing. Correcting this causes diff

[PATCH v7 0/5] Use MFD framework for SGI IOC3 drivers

2019-10-09 Thread Thomas Bogendoerfer
SGI IOC3 ASIC includes support for ethernet, PS2 keyboard/mouse, NIC (number in a can), GPIO and a byte bus. By attaching a SuperIO chip to it, it also supports serial lines and a parallel port. The chip is used on a variety of SGI systems with different configurations. This patchset moves code ou

Re: [PATCH] Documentation: admin-guide: add earlycon documentation for the sifive serial driver

2019-10-09 Thread Geert Uytterhoeven
Hi Andreas, On Wed, Oct 9, 2019 at 12:06 PM Andreas Schwab wrote: > On Okt 09 2019, Geert Uytterhoeven wrote: > > I believe risc-v is DT-only, so if chosen/stdout-path is set up > > If. Currently, it isn't. IC. So isn't it better to fix that, instead of pointing people to more obscure legacy s

Re: [PATCH] docs: admin-guide: fix printk_ratelimit explanation

2019-10-09 Thread Oleksandr Natalenko
Hi. On Wed, Oct 02, 2019 at 01:46:10PM +0200, Oleksandr Natalenko wrote: > The printk_ratelimit value accepts seconds, not jiffies (though it is > converted into jiffies internally). Update documentation to reflect > this. > > Also, remove the statement about allowing 1 message in 5 seconds since

Re: [PATCH v8 2/5] MIPS: PCI: use information from 1-wire PROM for IOC3 detection

2019-10-09 Thread Philippe Mathieu-Daudé
On 10/9/19 12:17 PM, Thomas Bogendoerfer wrote: IOC3 chips in SGI system are conntected to a bridge ASIC, which has Typo: "connected". a 1-wire prom attached with part number information. This changeset uses this information to create PCI subsystem information, which the MFD driver uses for f

Re: [PATCH v8 1/5] nvmem: core: add nvmem_device_find

2019-10-09 Thread Philippe Mathieu-Daudé
On 10/9/19 12:17 PM, Thomas Bogendoerfer wrote: nvmem_device_find provides a way to search for nvmem devices with the help of a match function simlair to bus_find_device. Reviewed-by: Srinivas Kandagatla Acked-by: Srinivas Kandagatla Signed-off-by: Thomas Bogendoerfer --- Documentation/driv

Re: [PATCH v7 1/8] efi: Export boot-services code and data as debugfs-blobs

2019-10-09 Thread Ard Biesheuvel
On Fri, 4 Oct 2019 at 16:51, Hans de Goede wrote: > > Sometimes it is useful to be able to dump the efi boot-services code and > data. This commit adds these as debugfs-blobs to /sys/kernel/debug/efi, > but only if efi=debug is passed on the kernel-commandline as this requires > not freeing those

Re: [PATCH v7 1/8] efi: Export boot-services code and data as debugfs-blobs

2019-10-09 Thread Hans de Goede
Hi, On 09-10-2019 15:07, Ard Biesheuvel wrote: On Fri, 4 Oct 2019 at 16:51, Hans de Goede wrote: Sometimes it is useful to be able to dump the efi boot-services code and data. This commit adds these as debugfs-blobs to /sys/kernel/debug/efi, but only if efi=debug is passed on the kernel-comma

Re: [PATCH v7 1/8] efi: Export boot-services code and data as debugfs-blobs

2019-10-09 Thread Ard Biesheuvel
On Wed, 9 Oct 2019 at 15:18, Hans de Goede wrote: > > Hi, > > On 09-10-2019 15:07, Ard Biesheuvel wrote: > > On Fri, 4 Oct 2019 at 16:51, Hans de Goede wrote: > >> > >> Sometimes it is useful to be able to dump the efi boot-services code and > >> data. This commit adds these as debugfs-blobs to /

Re: [PATCH v7 1/8] efi: Export boot-services code and data as debugfs-blobs

2019-10-09 Thread Ard Biesheuvel
On Wed, 9 Oct 2019 at 15:59, Hans de Goede wrote: > > Hi, > > On 09-10-2019 15:35, Ard Biesheuvel wrote: > > On Wed, 9 Oct 2019 at 15:18, Hans de Goede wrote: > >> > >> Hi, > >> > >> On 09-10-2019 15:07, Ard Biesheuvel wrote: > >>> On Fri, 4 Oct 2019 at 16:51, Hans de Goede wrote: > >

Re: [PATCH v7 1/8] efi: Export boot-services code and data as debugfs-blobs

2019-10-09 Thread Hans de Goede
Hi, On 09-10-2019 15:35, Ard Biesheuvel wrote: On Wed, 9 Oct 2019 at 15:18, Hans de Goede wrote: Hi, On 09-10-2019 15:07, Ard Biesheuvel wrote: On Fri, 4 Oct 2019 at 16:51, Hans de Goede wrote: Sometimes it is useful to be able to dump the efi boot-services code and data. This commit add

Re: [PATCH] Documentation: admin-guide: add earlycon documentation for the sifive serial driver

2019-10-09 Thread Paul Walmsley
Hi Geert, On Wed, 9 Oct 2019, Geert Uytterhoeven wrote: > On Wed, Oct 9, 2019 at 12:06 PM Andreas Schwab wrote: > > On Okt 09 2019, Geert Uytterhoeven wrote: > > > I believe risc-v is DT-only, so if chosen/stdout-path is set up > > > > If. Currently, it isn't. > > IC. So isn't it better to fi

[PATCH] Documentation: admin-guide: add earlycon documentation for RISC-V

2019-10-09 Thread Paul Walmsley
Kernels booting on RISC-V can specify "earlycon" with no options on the Linux command line, and the generic DT earlycon support will query the "chosen/stdout-path" property (if present) to determine which early console device to use. Document this appropriately in the admin-guide. Signed-off-by

Sphinx parallel build errors

2019-10-09 Thread Randy Dunlap
Sphinx parallel build error: OSError: [Errno 12] Cannot allocate memory I have had this error 4 times in the last 3 days. The first time it oom-killed Thunderbird. No big deal. The second time it oom-killed gimp, which had 24 photos open. Still no big deal. Just a nuisance. My little laptop

Re: Sphinx parallel build errors

2019-10-09 Thread Jonathan Corbet
On Wed, 9 Oct 2019 14:37:51 -0700 Randy Dunlap wrote: > Sphinx parallel build error: > OSError: [Errno 12] Cannot allocate memory > > I have had this error 4 times in the last 3 days. > > The first time it oom-killed Thunderbird. No big deal. > The second time it oom-killed gimp, which had 24

Re: [PATCH 3/4] Documentation/process: Add fallthrough pseudo-keyword

2019-10-09 Thread Nick Desaulniers
On Sat, Oct 5, 2019 at 10:48 AM Miguel Ojeda wrote: > > On Sat, Oct 5, 2019 at 6:47 PM Joe Perches wrote: > > > > +When the C17/C18 [[fallthrough]] syntax is more commonly supported by > > Note that C17/C18 does not have [[fallthrough]]. C++17 introduced it, > as it is mentioned above. I would k

Re: Sphinx parallel build errors

2019-10-09 Thread Randy Dunlap
On 10/9/19 2:40 PM, Jonathan Corbet wrote: > On Wed, 9 Oct 2019 14:37:51 -0700 > Randy Dunlap wrote: > >> Sphinx parallel build error: >> OSError: [Errno 12] Cannot allocate memory >> >> I have had this error 4 times in the last 3 days. >> >> The first time it oom-killed Thunderbird. No big deal

Re: [PATCH] Documentation: networking: device drivers: Remove stray asterisks

2019-10-09 Thread Jakub Kicinski
On Thu, 3 Oct 2019 08:29:53 -0600, Jonathan Corbet wrote: > On Wed, 02 Oct 2019 17:25:26 -0700 (PDT) > David Miller wrote: > > > Jon, how do you want to handle changes like this? > > In whatever way works best. Documentation should make our lives easier, > not get in the way :) > > > I mean,

Re: Sphinx parallel build errors

2019-10-09 Thread Kees Cook
On Wed, Oct 09, 2019 at 02:37:51PM -0700, Randy Dunlap wrote: > > Sphinx parallel build error: > OSError: [Errno 12] Cannot allocate memory > > I have had this error 4 times in the last 3 days. > > The first time it oom-killed Thunderbird. No big deal. > The second time it oom-killed gimp, whic

Re: Sphinx parallel build errors

2019-10-09 Thread Bhaskar Chowdhury
On 19:30 Wed 09 Oct 2019, Kees Cook wrote: On Wed, Oct 09, 2019 at 02:37:51PM -0700, Randy Dunlap wrote: Sphinx parallel build error: OSError: [Errno 12] Cannot allocate memory I have had this error 4 times in the last 3 days. The first time it oom-killed Thunderbird. No big deal. The second

Re: [PATCH v8 3/5] mfd: ioc3: Add driver for SGI IOC3 chip

2019-10-09 Thread Jakub Kicinski
On Wed, 9 Oct 2019 12:17:10 +0200, Thomas Bogendoerfer wrote: > SGI IOC3 chip has integrated ethernet, keyboard and mouse interface. > It also supports connecting a SuperIO chip for serial and parallel > interfaces. IOC3 is used inside various SGI systemboards and add-on > cards with different equ

[PATCH 05/12] infiniband: fix ulp/opa_vnic/opa_vnic_encap.h kernel-doc notation

2019-10-09 Thread rd . dunlab
d/ulp/opa_vnic/opa_vnic_encap.h:263: warning: Function parameter or member 'tbl_entries' not described in 'opa_veswport_mactable' Signed-off-by: Randy Dunlap Cc: Randy Dunlap Cc: Doug Ledford Cc: Jason Gunthorpe Cc: linux-doc@vger.kernel.org --- drivers/infiniband/ulp/opa_vnic

[PATCH 04/12] infiniband: fix ulp/opa_vnic/opa_vnic_internal.h kernel-doc notation

2019-10-09 Thread rd . dunlab
/opa_vnic/opa_vnic_internal.h |8 1 file changed, 4 insertions(+), 4 deletions(-) --- linux-next-20191009.orig/drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h +++ linux-next-20191009/drivers/infiniband/ulp/opa_vnic/opa_vnic_internal.h @@ -70,7 +70,7 @@ struct opa_vnic_adapter

[PATCH 03/12] infiniband: fix ulp/iser/iscsi_iser.h kernel-doc warnings

2019-10-09 Thread rd . dunlab
and/ulp/iser/iscsi_iser.h:415: warning: Function parameter or member 'all_list' not described in 'iser_fr_pool' Signed-off-by: Randy Dunlap Cc: Randy Dunlap Cc: Doug Ledford Cc: Jason Gunthorpe Cc: linux-doc@vger.kernel.org --- drivers/infiniband/ulp/iser/iscsi_iser.h | 18 +++

[PATCH 02/12] infiniband: fix core/ipwm_util.h kernel-doc warnings

2019-10-09 Thread rd . dunlab
Cc: linux-doc@vger.kernel.org --- drivers/infiniband/core/iwpm_util.h |5 - 1 file changed, 4 insertions(+), 1 deletion(-) --- linux-next-20191009.orig/drivers/infiniband/core/iwpm_util.h +++ linux-next-20191009/drivers/infiniband/core/iwpm_util.h @@ -210,8 +210,10 @@ int iwpm_mapinfo

[PATCH 00/12] infiniband kernel-doc fixes & driver-api/ chapter

2019-10-09 Thread rd . dunlab
This patch series cleans up lots of kernel-doc in drivers/infiniband/ and then adds an infiniband.rst file. It also changes a few instances of non-exported functions from kernel-doc notation back to non-kernel-doc comments. There are still a few kernel-doc and Sphinx warnings that I don't know

[PATCH 01/12] infiniband: fix ulp/iser/iscsi_iser.[hc] kernel-doc notation

2019-10-09 Thread rd . dunlab
ivers/infiniband/ulp/iser/iscsi_iser.h |8 2 files changed, 5 insertions(+), 5 deletions(-) --- linux-next-20191009.orig/drivers/infiniband/ulp/iser/iscsi_iser.h +++ linux-next-20191009/drivers/infiniband/ulp/iser/iscsi_iser.h @@ -311,7 +311,7 @@ struct iser_comp { }; /** - * struct iser_dev

[PATCH 06/12] infiniband: fix ulp/srpt/ib_srpt.h kernel-doc notation

2019-10-09 Thread rd . dunlab
er 'port_gid_id' not described in 'srpt_port' Signed-off-by: Randy Dunlap Cc: Randy Dunlap Cc: Doug Ledford Cc: Jason Gunthorpe Cc: linux-doc@vger.kernel.org --- drivers/infiniband/ulp/srpt/ib_srpt.h |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) --- linux-next-2

[PATCH 10/12] infiniband: fix core/ kernel-doc notation

2019-10-09 Thread rd . dunlab
Randy Dunlap Cc: Randy Dunlap Cc: Doug Ledford Cc: Jason Gunthorpe Cc: linux-doc@vger.kernel.org --- drivers/infiniband/core/device.c | 23 +++---- drivers/infiniband/core/sa_query.c |2 +- 2 files changed, 12 insertions(+), 13 deletions(-) --- linux-next-20191009.orig/dri

[PATCH 08/12] infiniband: fix ulp/iser/iser_verbs.c kernel-doc notation

2019-10-09 Thread rd . dunlab
band/ulp/iser/iser_verbs.c:1040: warning: Function parameter or member 'tx_desc' not described in 'iser_post_send' Signed-off-by: Randy Dunlap Cc: Randy Dunlap Cc: Doug Ledford Cc: Jason Gunthorpe Cc: linux-doc@vger.kernel.org --- drivers/infiniband/ulp/iser/iser_verbs.c |

[PATCH 09/12] infiniband: fix ulp/iser/iser_initiator.c kernel-doc warnings

2019-10-09 Thread rd . dunlab
c: Doug Ledford Cc: Jason Gunthorpe Cc: linux-doc@vger.kernel.org --- drivers/infiniband/ulp/iser/iser_initiator.c |5 + 1 file changed, 5 insertions(+) --- linux-next-20191009.orig/drivers/infiniband/ulp/iser/iser_initiator.c +++ linux-next-20191009/drivers/infiniband/ulp/iser/iser_initiato

[PATCH 07/12] infiniband: fix core/verbs.c kernel-doc notation

2019-10-09 Thread rd . dunlab
/verbs.c:2512: WARNING: Block quote ends without a blank line; unexpected unindent. ../drivers/infiniband/core/verbs.c:2544: WARNING: Unexpected indentation. drivers/infiniband/core/verbs.c |2 ++ 1 file changed, 2 insertions(+) --- linux-next-20191009.orig/drivers/infiniband/core/verbs.c +++ lin

[PATCH 11/12] infiniband: fix sw/rdmavt/ kernel-doc notation

2019-10-09 Thread rd . dunlab
Cc: Jason Gunthorpe Cc: linux-doc@vger.kernel.org --- drivers/infiniband/sw/rdmavt/ah.c |1 drivers/infiniband/sw/rdmavt/cq.c |2 - drivers/infiniband/sw/rdmavt/qp.c | 30 ++-- drivers/infiniband/sw/rdmavt/vt.c |3 +- 4 files changed, 17 insertions(+), 19 deletio

[PATCH 12/12] infiniband: add a Documentation driver-api chapter for Infiniband

2019-10-09 Thread rd . dunlab
files changed, 128 insertions(+) --- linux-next-20191009.orig/Documentation/driver-api/index.rst +++ linux-next-20191009/Documentation/driver-api/index.rst @@ -26,6 +26,7 @@ available subsections can be seen below. device_link component message-based + infiniband sound frame