RFC: better timer interface

2017-05-16 Thread Christoph Hellwig
Hi all, this series attempts to provide a "modern" timer interface where the callback gets the timer_list structure as an argument so that it can use container_of instead of having to cast to/from unsigned long all the time (or even worse use function pointer casts, we have quite a few of those as

[PATCH 4/9] workqueue: switch to modern timers

2017-05-16 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- include/linux/workqueue.h| 16 ++-- kernel/workqueue.c | 14 +++--- .../rcutorture/formal/srcu-cbmc/src/workqueues.h | 2 +- 3 files changed, 14 insertions(+), 1

[PATCH 3/9] kthread: remove unused macros

2017-05-16 Thread Christoph Hellwig
KTHREAD_DELAYED_WORK_INIT and DEFINE_KTHREAD_DELAYED_WORK are unused and are using a timer helper that's about to go away. Signed-off-by: Christoph Hellwig --- include/linux/kthread.h | 11 --- 1 file changed, 11 deletions(-) diff --git a/include/linux/kthread.h b/include/linux/kthread.

[PATCH 6/9] s390: switch topology_timer to a modern timer

2017-05-16 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- arch/s390/kernel/topology.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/s390/kernel/topology.c b/arch/s390/kernel/topology.c index bb47c92476f0..4a0e867fca2b 100644 --- a/arch/s390/kernel/topology.c +++ b/arch/s390/kernel/topol

[PATCH 9/9] timers: remove old timer initialization macros

2017-05-16 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- include/linux/timer.h | 22 +++--- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/include/linux/timer.h b/include/linux/timer.h index 87afe52c8349..9c6694d3f66a 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h @@ -

[PATCH 7/9] s390: switch lgr timer to a modern timer

2017-05-16 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- arch/s390/kernel/lgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/s390/kernel/lgr.c b/arch/s390/kernel/lgr.c index ae7dff110054..147124c05f28 100644 --- a/arch/s390/kernel/lgr.c +++ b/arch/s390/kernel/lgr.c @@ -153,14 +153,14

[PATCH 2/9] timers: provide a "modern" variant of timers

2017-05-16 Thread Christoph Hellwig
The new callback gets a pointer to the timer_list itself, which can then be used to get the containing structure using container_of instead of casting from and to unsigned long all the time. The setup helpers take a flags argument instead of needing countless variants. Note: this further reduces

[PATCH 8/9] tlclk: switch switchover_timer to a modern timer

2017-05-16 Thread Christoph Hellwig
And remove a superflous double-initialization. Signed-off-by: Christoph Hellwig --- drivers/char/tlclk.c | 36 +++- 1 file changed, 19 insertions(+), 17 deletions(-) diff --git a/drivers/char/tlclk.c b/drivers/char/tlclk.c index 572a51704e67..7144016da82c 100644

[PATCH 5/9] powerpc/numa: switch topology_timer to modern timer

2017-05-16 Thread Christoph Hellwig
Signed-off-by: Christoph Hellwig --- arch/powerpc/mm/numa.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c index 371792e4418f..93a11227716b 100644 --- a/arch/powerpc/mm/numa.c +++ b/arch/powerpc/mm/numa.c @@ -1437,7 +1437,7

Re: [PATCH] ARM: dts: imx7: use 3 PWM cells

2017-05-16 Thread Fabio Estevam
On Tue, May 16, 2017 at 4:40 AM, Stefan Agner wrote: > The PWM driver has now capability to specify the PWM polarity > which is e.g. for backlight control. Allow to make use of PWM > polarity by specifying pwm-cells to be 3 in the base dt. > > Signed-off-by: Stefan Agner Reviewed-by: Fabio Estev

Re: [PATCH 1/2] arm64: marvell: dts: fill MachiatoBin board description

2017-05-16 Thread Thomas Petazzoni
Hello, On Tue, 16 May 2017 11:02:37 +0100, Russell King - ARM Linux wrote: > > Correct, but Marcin has submitted patches, and you haven't. > > As I said, give me a friggin chance. You know full well that I've been > working on this, working with you and submitting patches. Correct. But Marci

Re: [PATCH] staging: wlan-ng: p80211conv: change args types of p80211_caphdr structure to be network compatible.

2017-05-16 Thread Greg KH
On Mon, May 15, 2017 at 02:04:57PM +0200, Karim Eshapa wrote: > Change p80211_caphdr structure args types to __be.. to be > compatible with byte ordering of the network. > and in hfa384x_usb.c make calculations with respect to machine. > > Signed-off-by: Karim Eshapa > --- > drivers/staging/wlan

Re: [PATCH 2/5] ARM: dts: use #include "..." to include DT in the same directory

2017-05-16 Thread Masahiro Yamada
Hi Shawn, 2017-05-15 22:10 GMT+09:00 Shawn Guo : > Hi Masahiro, > > On Mon, May 15, 2017 at 08:14:45PM +0900, Masahiro Yamada wrote: >> Most of DT files in ARM use #include "..." to make pre-processor >> include DT in the same directory, but we have 3 exceptional files >> that use #include <...> f

Re: [PATCH] rt2x00: improve calling conventions for register accessors

2017-05-16 Thread Stanislaw Gruszka
On Mon, May 15, 2017 at 10:39:51AM -0400, David Miller wrote: > From: Stanislaw Gruszka > Date: Mon, 15 May 2017 16:28:01 +0200 > > > On Mon, May 15, 2017 at 03:46:55PM +0200, Arnd Bergmann wrote: > >> With CONFIG_KASAN enabled and gcc-7, we get a warning about rather high > >> stack usage (with

Re: [RESEND PATCH] MAINTAINERS: Update MAX77802 PMIC entry

2017-05-16 Thread Javier Martinez Canillas
Hello Mark and Lee, On Tue, May 16, 2017 at 1:06 PM, Mark Brown wrote: > On Tue, May 16, 2017 at 08:51:40AM +0100, Lee Jones wrote: >> On Sun, 14 May 2017, Mark Brown wrote: > >> > Since I'm expected to apply this I wouldn't normally expect to see my >> > ack - like I say if I'm acking something

Re: [RFC 1/6] lib: vsprintf: additional kernel pointer filtering options

2017-05-16 Thread Petr Mladek
On Fri 2017-05-05 21:06:56, Greg KH wrote: > From: Dave Weinstein > > Add the kptr_restrict setting of 3 which results in both > %p and %pK values being replaced by zeros. > > Add an additional %pP value inspired by the Grsecurity > option which explicitly whitelists pointers for output. > > Th

Re: [PATCH] rt2x00: improve calling conventions for register accessors

2017-05-16 Thread Johannes Berg
On Tue, 2017-05-16 at 13:55 +0200, Stanislaw Gruszka wrote: > > In rt2x00 driver we use poor convention in other kind of registers > accessors like bbp, mac, eeprom. I dislike to changing only rfcsr > accessors and leaving others in the old way. And changing all > accessors would be massive and er

Re: [PATCH 42/48] clocksource/drivers: Add a new driver for the Atmel ARM TC blocks

2017-05-16 Thread Alexandre Belloni
Hi Daniel, Almost one year later, I'm back on that topic. On 24/06/2016 at 12:07:01 +0200, Daniel Lezcano wrote: > > diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig > > index 47352d25c15e..ff7f4022c749 100644 > > --- a/drivers/clocksource/Kconfig > > +++ b/drivers/clocksour

Re: [patch v2 6/6] staging: speakup: flush tty buffers and ensure hardware flow control

2017-05-16 Thread Greg Kroah-Hartman
On Mon, May 15, 2017 at 06:45:37PM +0100, Okash Khawaja wrote: > This patch fixes the issue where TTY-migrated synths would take a while to > shut up after hitting numpad enter key. When calling synth_flush, even though > XOFF character is sent as high priority, data buffered in TTY layer is stil

[PATCH 0/2] Fixed voltage regulator: Adjustments for two function implementations

2017-05-16 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 16 May 2017 13:55:44 +0200 Two update suggestions were taken into account from static source code analysis. Markus Elfring (2): Delete error messages for failed memory allocations in reg_fixed_voltage_probe() Improve a size determination in two functions dr

Re: [PATCH 1/2] PCI/portdrv: add support for different MSI interrupts for PCIe port services

2017-05-16 Thread Christoph Hellwig
> --- a/drivers/pci/pcie/portdrv.h > +++ b/drivers/pci/pcie/portdrv.h > @@ -18,6 +18,11 @@ > */ > #define PCIE_PORT_MAX_MSIX_ENTRIES 32 > > +/* According to the PCI Local Bus Specification REV. 3.0 the max number > + * of MSI vectors per function is 32 > + */ > +#define PCIE_PORT_MAX_MSI_ENT

Re: [PATCH 2/5] extcon: Add FUSB302 USB TYPE-C controller support

2017-05-16 Thread Heikki Krogerus
Hi Hans, On Fri, May 12, 2017 at 11:22:46PM +0200, Hans de Goede wrote: > On 24-04-17 16:25, Heikki Krogerus wrote: > > > Doesn't this mean you have several extcon_dev registered for a > > single port? > > Yes this is unfortunate, but the primary consumer of extcon > info is the kernel itself an

[PATCH 1/2] regulator: fixed: Delete error messages for failed memory allocations in reg_fixed_voltage_probe()

2017-05-16 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 16 May 2017 13:31:20 +0200 Omit two extra messages for memory allocation failures in this function. This issue was detected by using the Coccinelle software. Link: http://events.linuxfoundation.org/sites/events/files/slides/LCJ16-Refactor_Strings-WSang_0.pdf Sig

[PATCH 0/3] arm64: dts: introduce QorIQ DPAA 1.x FMan device tree nodes

2017-05-16 Thread Madalin Bucur
This patch set introduces the QorIQ Data Path Acceleration Arhitecture (DPAA) Frame Manager device tree nodes for the ARM based DPAA 1.x platforms. Madalin Bucur (3): arm64: dts: add DPAA FMan nodes arm64: dts: add LS1043A DPAA FMan support arm64: dts: add LS1046A DPAA FMan nodes arch/arm6

[PATCH 3/3] arm64: dts: add LS1046A DPAA FMan nodes

2017-05-16 Thread Madalin Bucur
Add the DPAA 1.x FMan device tree nodes for LS1046A boards. Signed-off-by: Madalin Bucur --- arch/arm64/boot/dts/freescale/fsl-ls1046-post.dtsi | 48 + arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 2 + arch/arm64/boot/dts/freescale/fsl-ls1046a-rdb.dts | 60 +

[PATCH 1/3] arm64: dts: add DPAA FMan nodes

2017-05-16 Thread Madalin Bucur
Add the DPAA 1.x FMan nodes for the ARM based platforms. Using separate files for each port as not all ports are used on all devices. Different numbering of ports is also possible on different devices. Signed-off-by: Madalin Bucur --- .../boot/dts/freescale/qoriq-fman3-0-10g-0.dtsi| 42

[PATCH 2/3] arm64: dts: add LS1043A DPAA FMan support

2017-05-16 Thread Madalin Bucur
Add the DPAA 1.x FMan device tree nodes for LS1043A boards. Signed-off-by: Madalin Bucur --- arch/arm64/boot/dts/freescale/fsl-ls1043-post.dtsi | 45 + arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts | 2 + arch/arm64/boot/dts/freescale/fsl-ls1043a-rdb.dts | 73 +

[PATCH 2/2] regulator: fixed: Improve a size determination in two functions

2017-05-16 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 16 May 2017 13:43:11 +0200 Replace the specification of two data structures by pointer dereferences as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. Signed-off-by: M

Re: [PATCH 2/2] PCI/portdrv: allocate MSI/MSIx vector for DPC RP service

2017-05-16 Thread Christoph Hellwig
> + * pci_irq_vector() below is able to handle entry differently > + * depending on MSI vs MSI-x case > + * No need to mention that for every users. Except for that this looks fine: Reviewed-by: Christoph Hellwig

Re: [PATCH 1/2] arm64: marvell: dts: fill MachiatoBin board description

2017-05-16 Thread Russell King - ARM Linux
On Tue, May 16, 2017 at 01:52:17PM +0200, Thomas Petazzoni wrote: > Hello, > > On Tue, 16 May 2017 11:02:37 +0100, Russell King - ARM Linux wrote: > > > > Correct, but Marcin has submitted patches, and you haven't. > > > > As I said, give me a friggin chance. You know full well that I've been

Re: [linux-sunxi] Re: [PATCH v7 05/13] drm/sun4i: abstract a engine type

2017-05-16 Thread Maxime Ripard
On Mon, May 15, 2017 at 05:35:02PM +0800, Icenowy Zheng wrote: > > > 于 2017年5月15日 GMT+08:00 下午5:20:01, Maxime Ripard > 写到: > >On Mon, May 15, 2017 at 12:30:37AM +0800, Icenowy Zheng wrote: > >> As we are going to add support for the Allwinner DE2 engine in > >sun4i-drm > >> driver, we will fina

[PATCH v2 33/53] scsi: fix some kernel-doc markups

2017-05-16 Thread Mauro Carvalho Chehab
Sphinx is very pedantic with regards to ident/spacing. Fix some kernel-doc markups in order to solve those errors/warnings: ./drivers/scsi/scsicam.c:121: WARNING: Inline emphasis start-string without end-string. ./drivers/scsi/scsicam.c:121: WARNING: Inline emphasis start-string without end-stri

[PATCH v2 00/53] Get rid of Docbook

2017-05-16 Thread Mauro Carvalho Chehab
This patch series convert the remaining DocBooks to ReST. The first version was originally send as 3 patch series: [PATCH 00/36] Convert DocBook documents to ReST [PATCH 0/5] Convert more books to ReST [PATCH 00/13] Get rid of DocBook The lsm book was added as if it were a text file un

[PATCH v2 17/53] docs-rst: convert filesystems book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile | 2 +- Documentation/DocBook/filesystems.tmpl | 381 - Documentation/conf.py

[PATCH v2 24/53] docs-rst: convert libata book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile |2 +- Documentation/DocBook/libata.tmpl | 1625 --- Documentation/driver-api/index.rst

[PATCH v2 39/53] mtd: adjust kernel-docs to avoid Sphinx/kerneldoc warnings

2017-05-16 Thread Mauro Carvalho Chehab
./drivers/mtd/nand/nand_bbt.c:1: warning: no structured comments found ./include/linux/mtd/nand.h:785: ERROR: Unexpected indentation. ./drivers/mtd/nand/nand_base.c:449: WARNING: Definition list ends without a blank line; unexpected unindent. ./drivers/mtd/nand/nand_base.c:1161: ERROR: Unexpected

[PATCH v2 03/53] docs-rst: convert kernel-locking to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. - Manually adjust tables with got broken by conversion Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile|1 - Documentation/DocBook/kernel-locking.tmpl | 2151 --

[PATCH] staging: wlan-ng: p80211conv: change args types of p80211_caphdr structure to be compatible with networking byte order.

2017-05-16 Thread Karim Eshapa
Change p80211_caphdr structure args types to __be.. to be compatible with byte ordering of the network. and in hfa384x_usb.c make calculations with respect to machine. Signed-off-by: Karim Eshapa --- drivers/staging/wlan-ng/hfa384x_usb.c | 2 +- drivers/staging/wlan-ng/p80211conv.h | 28 ++

[PATCH v2 18/53] docs-rst: filesystems: use c domain references where needed

2017-05-16 Thread Mauro Carvalho Chehab
Instead of just mention the function names, use cross-references to the kernel-doc tags where pertinent. While not all function documentation is included here, I double-checked that all functions mentioned there still exists. Signed-off-by: Mauro Carvalho Chehab --- Documentation/filesystems/in

[PATCH v2 45/53] ata: update references for libata documentation

2017-05-16 Thread Mauro Carvalho Chehab
The libata documentation is now using ReST. Update references to it to point to the new place. Signed-off-by: Mauro Carvalho Chehab --- drivers/ata/acard-ahci.c| 2 +- drivers/ata/ahci.c | 2 +- drivers/ata/ahci.h | 2 +- drivers/ata/ata_piix.c | 2 +- drivers/ata/liba

[PATCH v2 08/53] docs-rst: convert kgdb DocBook to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile| 2 +- Documentation/DocBook/kgdb.tmpl | 918 - Documentation/dev-tools/index.rst | 1

Re: [patch v2 6/6] staging: speakup: flush tty buffers and ensure hardware flow control

2017-05-16 Thread Okash Khawaja
Hi, On Tue, May 16, 2017 at 1:00 PM, Greg Kroah-Hartman wrote: > On Mon, May 15, 2017 at 06:45:37PM +0100, Okash Khawaja wrote: >> This patch fixes the issue where TTY-migrated synths would take a while to >> shut up after hitting numpad enter key. When calling synth_flush, even >> though XOFF

[PATCH v2 19/53] fs: jbd2: make jbd2_journal_start() kernel-doc parseable

2017-05-16 Thread Mauro Carvalho Chehab
kernel-doc script expects that a function documentation to be just before the function, otherwise it will be ignored. So, move the kernel-doc markup to the right place. Reviewed-by: Jan Kara Signed-off-by: Mauro Carvalho Chehab --- fs/jbd2/transaction.c | 38 +++

[PATCH v2 36/53] docs-rst: convert librs book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile | 2 +- Documentation/DocBook/librs.tmpl | 289 --- Documentation/core-api/index.rst | 1 +

[PATCH v2 01/53] docs-rst: convert kernel-hacking to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. - Manually adjusted to use ..note and ..warning - Minor fixes for it to be parsed without errors - Use **bold** for emphasis. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile

[PATCH v2 49/53] lib: update location of kgdb documentation

2017-05-16 Thread Mauro Carvalho Chehab
The documentation was moved from DocBook directory. Update its location. Signed-off-by: Mauro Carvalho Chehab --- lib/Kconfig.kgdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig.kgdb b/lib/Kconfig.kgdb index 533f912638ed..ab4ff0eea776 100644 --- a/lib/Kconfig.kgd

[PATCH v2 31/53] docs-rst: convert z8530book DocBook to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Some manual adjustments were required due to some conversion error on some literals. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile | 2 +- Documentation/DocBook/z8530b

[PATCH v2 15/53] docs-rst: add sound book to pdf output

2017-05-16 Thread Mauro Carvalho Chehab
The sound subsystem book was added without the bits required to generate PDF output. Add them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 2 ++ Documentation/sound/conf.py | 10 ++ 2 files changed, 12 insertions(+) create mode 100644 Documentation/sound/conf

[PATCH v2 14/53] docs-rst: add dev-tools book to pdf output

2017-05-16 Thread Mauro Carvalho Chehab
The dev-tools API book was added without the bits required to generate PDF output at the main conf.py. Add them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/conf.py b/Documentation/conf.py index ce62723491d4..

[PATCH v2 32/53] docs-rst: convert scsi DocBook to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile | 1 - Documentation/DocBook/scsi.tmpl| 409 - Documentation/driver-api/index.rst

[PATCH v2 37/53] docs-rst: convert mtdnand book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. The tables were manually adjusted to fit into 80 columns. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile |1 - Documentation/DocBook/mtdnand.tmpl | 1291 -

[PATCH v2 42/53] docs: remove DocBook from the building system

2017-05-16 Thread Mauro Carvalho Chehab
Now that we don't have any DocBook anymore, remove it from the building system. Signed-off-by: Mauro Carvalho Chehab --- Documentation/00-INDEX | 4 -- Documentation/DocBook/.gitignore | 17 - Documentation/DocBook/Makefile | 1 - Documentation/DocBook/stylesheet

Re: [PATCH] mmc: sdhci-xenon: kill xenon_clean_phy()

2017-05-16 Thread Andrew Lunn
On Tue, May 16, 2017 at 02:17:20PM +0800, Jisheng Zhang wrote: > Currently, the xenon_clean_phy() is only used for freeing phy_params. > The phy_params is allocated by devm_kzalloc(), there's no need to free > is explicitly. > > Signed-off-by: Jisheng Zhang > --- > drivers/mmc/host/sdhci-xenon-p

[PATCH v2 41/53] docs-rst: convert lsm from DocBook to ReST

2017-05-16 Thread Mauro Carvalho Chehab
This file is outdated. Still, as it is the only one left at DocBook dir, convert it, and store it, with a .txt extension, under Documentation/lsm.txt. This way, we can get rid of DocBook from the building system, without needing to wait for someone to take care of it. Signed-off-by: Mauro Carvalh

[PATCH v2 43/53] docs: update old references for DocBook from the documentation

2017-05-16 Thread Mauro Carvalho Chehab
DocBook is mentioned several times at the documentation. Update the obsolete references from it at the DocBook. Acked-by: SeongJae Park Signed-off-by: Mauro Carvalho Chehab --- Documentation/PCI/MSI-HOWTO.txt| 2 +- Documentation/admin-guide/README.rst | 6 --- Documentation

[PATCH v2 09/53] kgdb.rst: Adjust ReST markups

2017-05-16 Thread Mauro Carvalho Chehab
The automatic conversion didn't work too well for this file. It added weird html blocks inside it, and did some weird things for literals. Manually fix it, in order to present a nice display at html/pdf outputs. Signed-off-by: Mauro Carvalho Chehab --- Documentation/dev-tools/kgdb.rst | 489

[PATCH v2 25/53] libata.rst: add c function and struct cross-references

2017-05-16 Thread Mauro Carvalho Chehab
Instead of just using text for functions and structs, use the C domain tags, in order to allow cross-referencing with the kernel-doc markups. Signed-off-by: Mauro Carvalho Chehab --- Documentation/driver-api/libata.rst | 244 ++-- 1 file changed, 124 insertions(+)

[PATCH v2 02/53] kernel-hacking: update document

2017-05-16 Thread Mauro Carvalho Chehab
This document is fairly updated. Yet, some stuff moved to other kernel headers. So, update to point to the right places. While here, adjust some minor ReST markups. Signed-off-by: Mauro Carvalho Chehab --- Documentation/kernel-hacking/hacking.rst | 179 +-- 1 file ch

[PATCH v2 46/53] ia64, scsi: update references for the device-io book

2017-05-16 Thread Mauro Carvalho Chehab
The book is now at Documentation/driver-api/device-io.rst. Update such references. Signed-off-by: Mauro Carvalho Chehab --- arch/ia64/include/asm/io.h | 2 +- arch/ia64/sn/kernel/iomv.c | 2 +- drivers/scsi/qla1280.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch

Re: [PATCH v6 0/2] security: tty: make TIOCSTI ioctl require CAP_SYS_ADMIN

2017-05-16 Thread Matt Brown
On 05/16/2017 05:01 AM, Peter Dolding wrote: I could see a case being make for CAP_SYS_TTY_CONFIG. However I still choose to do with CAP_SYS_ADMIN because it is already in use in the TIOCSTI ioctl. Matt Brown don't give me existing behaviour.CAP_SYS_ADMIN is overload. The documentation t

[PATCH v2 11/53] docs-rst: conf.py: sort LaTeX documents in alphabetical order

2017-05-16 Thread Mauro Carvalho Chehab
As we add more documents, it makes more sense to sort the entries there in alphabetical order, as it makes easier to check if something is not there. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/D

[PATCH v2 48/53] fs: update location of filesystems documentation

2017-05-16 Thread Mauro Carvalho Chehab
The filesystem documentation was moved from DocBook to Documentation/filesystems/. Update it at the sources. Signed-off-by: Mauro Carvalho Chehab --- fs/debugfs/file.c | 2 +- include/linux/debugfs.h | 2 +- lib/Kconfig.debug | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)

Re: Use case for TASKS_RCU

2017-05-16 Thread Paul E. McKenney
On Tue, May 16, 2017 at 08:22:33AM +0200, Ingo Molnar wrote: > > * Paul E. McKenney wrote: > > > Hello! > > > > The question of the use case for TASKS_RCU came up, and here is my > > understanding. Steve will not be shy about correcting any misconceptions > > I might have. ;-) > > > > The us

[PATCH v2 06/53] locking.rst: add captions to two tables

2017-05-16 Thread Mauro Carvalho Chehab
Those tables have a "caption" at the end, but ReST actually expects it on a different way. Signed-off-by: Mauro Carvalho Chehab --- Documentation/kernel-hacking/locking.rst | 66 1 file changed, 34 insertions(+), 32 deletions(-) diff --git a/Documentation/kernel

[PATCH v2 23/53] fs: jbd2: escape a string with special chars on a kernel-doc

2017-05-16 Thread Mauro Carvalho Chehab
kernel-doc will try to interpret a foo() string, except if properly escaped. Reviewed-by: Jan Kara Signed-off-by: Mauro Carvalho Chehab --- fs/jbd2/transaction.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/jbd2/transaction.c b/fs/jbd2/transaction.c index fe7f4a373

[PATCH v2 47/53] irq: update genericirq book location

2017-05-16 Thread Mauro Carvalho Chehab
This book got converted from DocBook. Update its references to point to the current location. Signed-off-by: Mauro Carvalho Chehab --- kernel/irq/chip.c| 2 +- kernel/irq/handle.c | 2 +- kernel/irq/irqdesc.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/irq/

[PATCH v2 12/53] docs-rst: conf.py: remove kernel-documentation from LaTeX

2017-05-16 Thread Mauro Carvalho Chehab
There's no kernel-documentation.rst file at Documentation/ anymore. So, remove it from the list of LaTeX-generated documents. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Documentation/conf.py b/Documentatio

[PATCH v2 44/53] MAINTAINERS: update old references for DocBook directory

2017-05-16 Thread Mauro Carvalho Chehab
As everything was converted, update the references to point to the new places. Signed-off-by: Mauro Carvalho Chehab --- MAINTAINERS | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index f42daf74f541..8609dba03cbc 100644 --- a/MAINTAINERS +++ b/M

[PATCH v2 20/53] docs-rst: don't ignore internal functions for jbd2 docs

2017-05-16 Thread Mauro Carvalho Chehab
Those functions are currently ignored, causing references at the documentation to be lost. Don't ignore it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/filesystems/index.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/Documentation/filesystems/index.rst b/Documentation/filesys

[PATCH v2 16/53] docs-rst: add userspace API book to pdf output

2017-05-16 Thread Mauro Carvalho Chehab
The userspace API book was added without the bits required to generate PDF output. Add them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/conf.py b/Documentation/conf.py index bca751960dec..2e215477edf5 100644

[PATCH v2 21/53] fs: add a blank lines on some kernel-doc comments

2017-05-16 Thread Mauro Carvalho Chehab
Sphinx gets confused when it finds identation without a good reason for it and without a preceding blank line: ./fs/mpage.c:347: ERROR: Unexpected indentation. ./fs/namei.c:4303: ERROR: Unexpected indentation. ./fs/fs-writeback.c:2060: ERROR: Unexpected indentation. No fun

[PATCH] mmc:dw_mmc-k3: add sd support for hi3660

2017-05-16 Thread liwei
Add sd card support for hi3660 soc Signed-off-by: Li Wei Signed-off-by: Chen Jun --- drivers/mmc/host/dw_mmc-k3.c | 311 +++ 1 file changed, 311 insertions(+) diff --git a/drivers/mmc/host/dw_mmc-k3.c b/drivers/mmc/host/dw_mmc-k3.c index e38fb0020bb1..59

[PATCH v2 05/53] locking.rst: reformat locking table

2017-05-16 Thread Mauro Carvalho Chehab
Use a different markup for this table, in order to make it smaller when seeing in text mode. Signed-off-by: Mauro Carvalho Chehab --- Documentation/kernel-hacking/locking.rst | 37 1 file changed, 14 insertions(+), 23 deletions(-) diff --git a/Documentation/kern

[PATCH v2 10/53] conf.py: define a color for important markup on PDF output

2017-05-16 Thread Mauro Carvalho Chehab
As kdbg.rst uses the ".. important::" annotation, let's define a color for PDF output. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Documentation/conf.py b/Documentation/conf.py index 0ce8001a50b6..17743

[PATCH v2 29/53] net: skbuff.h: properly escape a macro name on kernel-doc

2017-05-16 Thread Mauro Carvalho Chehab
The "%" escape code of kernel-doc only handle letters. It doesn't handle special chars. So, use the ``literal`` notation. That fixes this warning: ./include/linux/skbuff.h:2695: WARNING: Inline literal start-string without end-string. No functional changes. Signed-off-by: Mauro Carvalho Chehab

[PATCH] [iov_iter] use memmove() when copying to/from user page

2017-05-16 Thread Alexander Potapenko
It's possible that calling sendfile() to copy the data from a memfd to itself may result in doing a memcpy() with overlapping arguments. To avoid undefined behavior here, replace memcpy() with memmove() and rename memcpy_to_page()/memcpy_from_page() accordingly. This problem has been detected with

Re: [patch v2 6/6] staging: speakup: flush tty buffers and ensure hardware flow control

2017-05-16 Thread Greg Kroah-Hartman
On Tue, May 16, 2017 at 01:19:10PM +0100, Okash Khawaja wrote: > Hi, > > On Tue, May 16, 2017 at 1:00 PM, Greg Kroah-Hartman > wrote: > > On Mon, May 15, 2017 at 06:45:37PM +0100, Okash Khawaja wrote: > >> This patch fixes the issue where TTY-migrated synths would take a while to > >> shut up af

[PATCH v2 30/53] net: fix some identation issues at kernel-doc markups

2017-05-16 Thread Mauro Carvalho Chehab
Sphinx is very pedantic with regards to identation and escape sequences: ./include/net/sock.h:1967: ERROR: Unexpected indentation. ./include/net/sock.h:1969: ERROR: Unexpected indentation. ./include/net/sock.h:1970: WARNING: Block quote ends without a blank line; unexpected unindent. ./in

[PATCH v2 28/53] docs-rst: convert networking book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile| 1 - Documentation/DocBook/networking.tmpl | 111 - Documentation/conf.py | 2 +

[PATCH v2 04/53] mutex, futex: adjust kernel-doc markups to generate ReST

2017-05-16 Thread Mauro Carvalho Chehab
There are a few issues on some kernel-doc markups that was causing troubles with kernel-doc output on ReST format: ./kernel/futex.c:492: WARNING: Inline emphasis start-string without end-string. ./kernel/futex.c:1264: WARNING: Block quote ends without a blank line; unexpected unindent. ./kernel/f

Re: [PATCH] staging: wlan-ng: p80211conv: change args types of p80211_caphdr structure to be compatible with networking byte order.

2017-05-16 Thread Greg KH
On Tue, May 16, 2017 at 02:18:13PM +0200, Karim Eshapa wrote: > Change p80211_caphdr structure args types to __be.. to be > compatible with byte ordering of the network. > and in hfa384x_usb.c make calculations with respect to machine. > > Signed-off-by: Karim Eshapa > --- > drivers/staging/wlan

[PATCH v2 07/53] locking.rst: Update some ReST markups

2017-05-16 Thread Mauro Carvalho Chehab
Correct a few minor issues with ReST notation used on this file (produced by an automatic tool). Signed-off-by: Mauro Carvalho Chehab --- Documentation/kernel-hacking/locking.rst | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/kernel-hacking/loc

[PATCH v2 34/53] docs-rst: convert w1 book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/w1.tmpl | 101 - Documentation/driver-api/index.rst | 1 + Documentation/driver-api/w1.rst| 7

[PATCH v2 22/53] fs: eventfd: fix identation on kernel-doc

2017-05-16 Thread Mauro Carvalho Chehab
Sphinx require explicit tags in order to use a list of possible values, otherwise it produces this error: ./fs/eventfd.c:219: WARNING: Option list ends without a blank line; unexpected unindent. Signed-off-by: Mauro Carvalho Chehab --- fs/eventfd.c | 4 ++-- 1 file changed, 2 insertion

[PATCH v2 26/53] libata: fix identation on a kernel-doc markup

2017-05-16 Thread Mauro Carvalho Chehab
Sphinx got confused with the markup identation: ./drivers/ata/libata-scsi.c:3402: ERROR: Unexpected indentation. No functional changes. Signed-off-by: Mauro Carvalho Chehab --- drivers/ata/libata-scsi.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/a

[PATCH v2 27/53] docs-rst: convert s390-drivers DocBook to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Acked-by: Cornelia Huck Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile| 2 +- Documentation/DocBook/s390-drivers.tmpl | 161 -- Docume

[PATCH v2 35/53] docs-rst: convert rapidio book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile | 4 +- Documentation/DocBook/rapidio.tmpl | 155 --- Documentation/driver-api/index.rst

RE: [PATCH] net: fec: select queue depending on VLAN priority

2017-05-16 Thread Andy Duan
From: Stefan Agner Sent: Monday, May 15, 2017 1:39 PM >To: Andy Duan >Cc: David Miller ; and...@lunn.ch; >feste...@gmail.com; net...@vger.kernel.org; linux- >ker...@vger.kernel.org >Subject: Re: [PATCH] net: fec: select queue depending on VLAN priority > >On 2017-05-10 21:49, Andy Duan wrote: >>

[PATCH v2 38/53] mtdnand.rst: group the "::" with previous line

2017-05-16 Thread Mauro Carvalho Chehab
Group the :: with the previous paragraph, in order to make it visually better when reading as a text file. While here, replace: ored (with means "Covered or adorned with ore or metal") by: OR-ed To reflect its true meaning. Signed-off-by: Mauro Carvalho Chehab --- Documentation

[PATCH v2 40/53] docs-rst: convert sh book to ReST

2017-05-16 Thread Mauro Carvalho Chehab
Use pandoc to convert documentation to ReST by calling Documentation/sphinx/tmplcvt script. Signed-off-by: Mauro Carvalho Chehab --- Documentation/DocBook/Makefile | 4 +- Documentation/DocBook/sh.tmpl | 105 - Documentation/conf.py | 2 + Do

[PATCH v2 13/53] docs-rst: add crypto API book to pdf output

2017-05-16 Thread Mauro Carvalho Chehab
The crypto API book was added without the bits required to generate PDF output. Add them. Signed-off-by: Mauro Carvalho Chehab --- Documentation/conf.py| 2 ++ Documentation/crypto/conf.py | 10 ++ 2 files changed, 12 insertions(+) create mode 100644 Documentation/crypto/conf.p

Re: [PATCH 1/2] arm64: marvell: dts: fill MachiatoBin board description

2017-05-16 Thread Thomas Petazzoni
Hello, On Tue, 16 May 2017 01:28:32 +0200, Marcin Wojtas wrote: > +&cps_eth1 { > + status = "okay"; > + phy = <&phy0>; > + phy-mode = "sgmii"; > +}; It would be nice to indicate which connector is that, like is done in the rest of this Device Tree file. > +&ap_sdhci0 { > + statu

Re: [PATCH v2 30/53] net: fix some identation issues at kernel-doc markups

2017-05-16 Thread David Howells
Mauro Carvalho Chehab wrote: > - * calling skb_free_datagram). Returns NULL with *err set to > + * calling skb_free_datagram). Returns NULL with @err set to I think this should be *@err or @*err. err is not itself changed. David

Re: [PATCH 1/2] arm64: marvell: dts: fill MachiatoBin board description

2017-05-16 Thread Russell King - ARM Linux
On Tue, May 16, 2017 at 02:34:46PM +0200, Thomas Petazzoni wrote: > > +&ap_sdhci0 { > > + status = "okay"; > > + bus-width = <8>; > > + no-1-8-v; > > + non-removable; > > +}; > > + > > +&cpm_sdhci0 { > > + status = "okay"; > > + bus-width = <4>; > > + no-1-8-v; > > + non-removable;

Re: [PATCH] rt2x00: improve calling conventions for register accessors

2017-05-16 Thread Stanislaw Gruszka
On Tue, May 16, 2017 at 01:58:56PM +0200, Johannes Berg wrote: > On Tue, 2017-05-16 at 13:55 +0200, Stanislaw Gruszka wrote: > > > > In rt2x00 driver we use poor convention in other kind of registers > > accessors like bbp, mac, eeprom. I dislike to changing only rfcsr > > accessors and leaving ot

Re: frv build failure in mainline kernel

2017-05-16 Thread David Howells
Guenter Roeck wrote: > I assume declaring both __jiffy_data and cacheline_aligned_in_smp > attributes doesn't work ? You should be able to stack attributes, I think. David

Re: [PATCH 1/2] arm64: marvell: dts: fill MachiatoBin board description

2017-05-16 Thread Marcin Wojtas
Russel, 2017-05-16 14:13 GMT+02:00 Russell King - ARM Linux : > On Tue, May 16, 2017 at 01:52:17PM +0200, Thomas Petazzoni wrote: >> Hello, >> >> On Tue, 16 May 2017 11:02:37 +0100, Russell King - ARM Linux wrote: >> >> > > Correct, but Marcin has submitted patches, and you haven't. >> > >> > As I

Re: [PATCH] xen: cleanup pvh leftovers from pv-only sources

2017-05-16 Thread Boris Ostrovsky
On 05/16/2017 03:41 AM, Juergen Gross wrote: > There are some leftovers testing for pvh guest mode in pv-only source > files. Remove them. > > Signed-off-by: Juergen Gross Reviewed-by: Boris Ostrovsky

Re: [RFC][PATCH 0/5] perf/tracing/cpuhotplug: Fix locking order

2017-05-16 Thread Paul E. McKenney
On Tue, May 16, 2017 at 10:19:23AM +0200, Peter Zijlstra wrote: > On Mon, May 15, 2017 at 11:40:43AM -0700, Paul E. McKenney wrote: > > > Given that you acquire the global pmus_lock when doing the > > get_online_cpus(), and given that CPU hotplug is rare, is it possible > > to momentarily acquire

Re: [PATCH v2 43/53] docs: update old references for DocBook from the documentation

2017-05-16 Thread Bartlomiej Zolnierkiewicz
On Tuesday, May 16, 2017 09:16:35 AM Mauro Carvalho Chehab wrote: > DocBook is mentioned several times at the documentation. Update > the obsolete references from it at the DocBook. > > Acked-by: SeongJae Park > Signed-off-by: Mauro Carvalho Chehab For fbdev part: Acked-by: Bartlomiej Zolnierk

<    1   2   3   4   5   6   7   8   9   >