Re: [PATCH v2 2/4] gpio: Allow PC/104 devices on X86_64

2016-06-04 Thread Pavel Machek
On Fri 2016-06-03 17:12:44, William Breathitt Gray wrote: > On Fri, Jun 03, 2016 at 10:57:03PM +0200, Pavel Machek wrote: > >Hi! > > > >> With the introduction of the ISA_BUS_API Kconfig option, ISA-style > >> drivers may be built for X86_64 architectures. This patch changes the > >> ISA Kconfig op

Re: [linux-next: Tree for Jun 1] __khugepaged_exit rwsem_down_write_failed lockup

2016-06-04 Thread Sergey Senozhatsky
Hello, On (06/03/16 15:49), Michal Hocko wrote: > __khugepaged_exit is called during the final __mmput and it employs a > complex synchronization dances to make sure it doesn't race with the > khugepaged which might be scanning this mm at the same time. This is > all caused by the fact that khugep

Re: [PATCH v2 1/2] b43: Remove unused phy_a code

2016-06-04 Thread Michael Büsch
On Fri, 3 Jun 2016 21:11:51 -0700 Guenter Roeck wrote: > +static void __b43_phy_initg(struct b43_wldev *dev) > +{ > + struct b43_phy *phy = &dev->phy; > + > + might_sleep(); > + > + if (phy->rev >= 6) { > + if (b43_phy_read(dev, B43_PHY_ENCORE) & B43_PHY_ENCORE_EN) > +

[PATCH] staging: sm750fb: deleted couple of blank lines at the very end

2016-06-04 Thread Mikulas Tomanka
Signed-off-by: Mikulas Tomanka --- drivers/staging/sm750fb/ddk750_chip.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/sm750fb/ddk750_chip.c b/drivers/staging/sm750fb/ddk750_chip.c index f80ee77..5e2d6d2 100644 --- a/drivers/staging/sm750fb/ddk750_chip.c +++ b/drivers/stag

Re: [PATCH V3 1/2] irqchip/gicv3-its: split its_alloc_tables() into two functions

2016-06-04 Thread Marc Zyngier
On Mon, 9 May 2016 15:58:25 -0500 Shanker Donthineni wrote: > The function is getting out of control, it has too many goto > statements and would be too complicated for adding a feature > two-level device table. So, it is time for us to cleanup and > move some of the logic to a separate function

Re: [PATCH] sd: remove redundant check for BLK_DEF_MAX_SECTORS

2016-06-04 Thread Tom Yan
The main point there is not to check q->limits.max_sectors against BLK_DEF_MAX_SECTORS, but sdkp->opt_xfer_blocks against SD_DEF_XFER_BLOCKS et al.? `rw_max = BLK_DEF_MAX_SECTORS;` there is merely the fallback when sdkp->opt_xfer_blocks does not pass the conditions. With your patch `rw_max` can be

Re: [PATCH] ASoC: sgtl5000: only check VDDD-supply, not revision

2016-06-04 Thread Clemens Gruber
Hi Eric, On Sat, Jun 04, 2016 at 07:18:28AM +0200, Eric Nelson wrote: > AFAIK, the SGTL5000 versions < 0x11 are like Sasquatch: I've seen > no real proof of their existence. I tried to chase down when this > code was introduced, but it seems to have been around since > the dawn of the driver. >

Re: [PATCH V3 2/2] irqchip/gicv3-its: Implement two-level(indirect) device table support

2016-06-04 Thread Marc Zyngier
On Mon, 9 May 2016 15:58:26 -0500 Shanker Donthineni wrote: Hi Shanker, > Since device IDs are extremely sparse, the single, a.k.a flat table is > not sufficient for the following two reasons. > > 1) According to ARM-GIC spec, ITS hw can access maximum of 256(pages)* >64K(pageszie) bytes. I

[PATCH] sparc32: remove stale RTC_PORT definition

2016-06-04 Thread Arnd Bergmann
sparc32:allmodconfig fails to build in next-20160602 as follows. In file included from drivers/block/floppy.c:185:0: include/linux/mc146818rtc.h: In function 'mc146818_is_updating': include/linux/mc146818rtc.h:138:9: error: 'rtc_port' undeclared (first use in this function) include/linux/mc146818

Re: Build failure in -next due to 'rtc: cmos: move mc146818rtc code out of asm-generic/rtc.h'

2016-06-04 Thread Arnd Bergmann
On Saturday, June 4, 2016 12:16:57 AM CEST Alexandre Belloni wrote: > > Arnd, do you mind sending a proper patch that I'll apply before 'rtc: > cmos: move mc146818rtc code out of asm-generic/rtc.h'? Else, I could > squash it in but I think the former is cleaner. > I thought I had already sent id

Re: [PATCH V4 2/9] genirq: Look-up trigger type if not specified by caller

2016-06-04 Thread Marc Zyngier
On Thu, 12 May 2016 16:19:25 +0100 Jon Hunter wrote: > For some devices the IRQ trigger type for a device is read from > firmware, such as device-tree. The IRQ trigger type is typically read > when the mapping for IRQ is created, which is before the IRQ is > requested. Hence, the IRQ trigger type

REF:- INSTRUCTION TO CREDIT YOUR ACCOUNT WITH THE SUM OF (US$5Million)

2016-06-04 Thread WESMINISTER BANK PLC UK
WESMINISTER BANK PLC, 10 Southwark Street , London Bridge , London - UK SE1 1TT RC: 121878 Our Ref: NTB/WESTMIN/INTER-15 Your Ref: Affidavit: AFX 076GD7B24 Tell=+447035969549 Fax+448435643403 REF:- INSTRUCTION TO CREDIT YOUR ACCOUNT WITH THE SUM OF (US$5Million) This is the second time we are not

Re: [PATCH V4 3/9] irqdomain: Don't set type when mapping an IRQ

2016-06-04 Thread Marc Zyngier
On Thu, 12 May 2016 16:19:26 +0100 Jon Hunter wrote: > Some IRQ chips, such as GPIO controllers or secondary level interrupt > controllers, may require require additional runtime power management > control to ensure they are accessible. For such IRQ chips, it makes sense > to enable the IRQ chip

Re: [PATCH V4 4/9] genirq: Add runtime power management support for IRQ chips

2016-06-04 Thread Marc Zyngier
On Thu, 12 May 2016 16:19:27 +0100 Jon Hunter wrote: > Some IRQ chips may be located in a power domain outside of the CPU > subsystem and hence will require device specific runtime power > management. In order to support such IRQ chips, add a pointer for a > device structure to the irq_chip struc

Re: [PATCH V4 7/9] irqchip/gic: Prepare for adding platform driver

2016-06-04 Thread Marc Zyngier
On Thu, 12 May 2016 16:19:30 +0100 Jon Hunter wrote: > To support GICs that require runtime power management, it is necessary > to add a platform driver, so that the probing of the chip can be > deferred if resources, such as a power-domain, is not yet available. > > To prepare for adding a plat

Re: [PATCH V4 9/9] irqchip/gic: Add platform driver for non-root GICs that require RPM

2016-06-04 Thread Marc Zyngier
On Thu, 12 May 2016 16:19:32 +0100 Jon Hunter wrote: > Add a platform driver to support non-root GICs that require runtime > power-management. Currently, only non-root GICs are supported because > the functions, smp_cross_call() and set_handle_irq(), that need to > be called for a root controller

Re: [PATCH] Drivers: ssb: Fix bare unsigned and changed to trailing comments

2016-06-04 Thread Julian Calaby
Hi Hugh, On Sat, Jun 4, 2016 at 10:39 AM, Hugh Sipiere wrote: > I changed drivers/ssb/driver_gpio.c to better fit the coding style. > I changed unsigned to unsigned int > Two comments were changed to not end on a line with the text. > > Signed-off-by: Hugh Sipiere You should separate the change

Re: [PATCH 0/4] *** rtl8188eu: Replace semaphores with mutexes or completions ***

2016-06-04 Thread Arnd Bergmann
On Friday, June 3, 2016 3:28:59 PM CEST Binoy Jayan wrote: > > These are a set of patches which removes semaphores from: > > drivers/staging/rtl8188eu > > These are part of a bigger effort to eliminate all semaphores > from the linux kernel. > > They build correctly (individually and as a whol

Re: [PATCH v2 7/9] ARM: bcm2835: Add devicetree for the Raspberry Pi 3.

2016-06-04 Thread Arnd Bergmann
On Friday, June 3, 2016 12:39:15 PM CEST Gerd Hoffmann wrote: > Hi, > > > I tried > > > > subdir-y += ../../../arm64/boot/dts/broadcom > > Hmm, works for me too now, probably had a typo somewhere. > > But it works for "make dtbs" only, "make dtbs_install" ignores it. Right: this is no good ;

Re: [PATCH] sparc32: remove stale RTC_PORT definition

2016-06-04 Thread Alexandre Belloni
On 04/06/2016 at 11:36:44 +0200, Arnd Bergmann wrote : > sparc32:allmodconfig fails to build in next-20160602 as follows. > > In file included from drivers/block/floppy.c:185:0: > include/linux/mc146818rtc.h: In function 'mc146818_is_updating': > include/linux/mc146818rtc.h:138:9: error: 'rtc_port

Re: [PATCH 0/10 -v3] Handle oom bypass more gracefully

2016-06-04 Thread Tetsuo Handa
Michal Hocko wrote: > On Fri 03-06-16 14:20:30, Michal Hocko wrote: > [...] > > Do no take me wrong but I would rather make sure that the current pile > > is reviewed and no unintentional side effects are introduced than open > > yet another can of worms. > > And just to add. You have found many b

Re: [PATCH v1] KVM: VMX: enable guest access to LMCE related MSRs

2016-06-04 Thread Boris Petkov
Haozhong Zhang wrote: >On Intel platforms, this patch adds LMCE to KVM MCE supported >capabilities and handles guest access to LMCE related MSRs. > >Signed-off-by: Ashok Raj >Signed-off-by: Haozhong Zhang SOB chain needs correction wrt who the author is and who the submitter. -- Sent from

Re: [PATCH] libnvdimm, nfit: treat volatile virtual CD region as read-only pmem

2016-06-04 Thread joeyli
Hi Dan, Thanks for your review. On Fri, Jun 03, 2016 at 12:27:34PM -0700, Dan Williams wrote: > On Fri, Jun 3, 2016 at 12:13 AM, Lee, Chun-Yi wrote: > > This patch adds codes to treat a volatile virtual CD region as a > > read-only pmem region, then read-only /dev/pmem* device can be mounted >

Re: [PATCH][RT] netpoll: Always take poll_lock when doing polling

2016-06-04 Thread Steven Rostedt
On Thu, 2 Jun 2016 18:12:35 +0200 Sebastian Andrzej Siewior wrote: > * Steven Rostedt | 2016-05-26 19:56:41 [-0400]: > > >[ Alison, can you try this patch ] > > Alison, did you try it? > > Sebastian This patch may help too... -- Steve >From 729e35706b8352d83692764adbeca429bb26ba7f Mon Sep 1

Re: [PATCH v2 2/4] gpio: Allow PC/104 devices on X86_64

2016-06-04 Thread William Breathitt Gray
On Sat, Jun 04, 2016 at 09:14:08AM +0200, Pavel Machek wrote: >On Fri 2016-06-03 17:12:44, William Breathitt Gray wrote: >> On Fri, Jun 03, 2016 at 10:57:03PM +0200, Pavel Machek wrote: >> >Should we do "depends on PC104" here, because that is what it really >> >means, and have PC104 enabled when I

Re: [PATCH V5 1/7] ARM64, ACPI, PCI: I/O Remapping Table (IORT) initial support.

2016-06-04 Thread Marc Zyngier
On Tue, 31 May 2016 13:19:38 +0200 Tomasz Nowicki wrote: > IORT shows representation of IO topology for ARM based systems. > It describes how various components are connected together on > parent-child basis e.g. PCI RC -> SMMU -> ITS. Also see IORT spec. > > Initial support allows to: > - regis

[PATCH] drivers: ssb: Fix comments to suit coding style

2016-06-04 Thread Hugh Sipière
I changed it so that these two comments do not end on a line with text. Signed-off-by: Hugh Sipière --- drivers/ssb/driver_gpio.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/ssb/driver_gpio.c b/drivers/ssb/driver_gpio.c index 180e027..f2435f3 100644 --- a/dr

Re: Patch for CVE-2016-0774 missing from stable 3.4 and 3.10 kernels

2016-06-04 Thread Willy Tarreau
Hi, On Mon, Mar 28, 2016 at 04:53:48PM -0700, Jeffrey Vander Stoep wrote: > https://lkml.org/lkml/2016/2/23/812 "pipe: Fix buffer offset after > partially failed read" is missing from the stable 3.4.y and 3.10.y > kernels. It has been included in 3.2.y and 3.14.y. > > I am able to cause a kernel

Re: [PATCH 21/23] arm64: ilp32: introduce ilp32-specific handlers for sigframe and ucontext

2016-06-04 Thread Zhangjian (Bamvor)
Hi, I found an issue of unwind with the following code. The correct backtrace should be: (gdb) where #0 0x004004d0 in my_sig (sig=11) at test_force3.c:16 #1 #2 func2 (num=0) at test_force3.c:22 #3 0x00400540 in func1 (num=1) at test_force3.c:28 #4 0x00400574 in main (argc=1, argv=0xffd7bc04) at

[PATCH v2 01/38] kernel-doc/rst: fix use of uninitialized value

2016-06-04 Thread Jani Nikula
I'm not quite sure why the errors below are happening, but this fixes them. Use of uninitialized value in string ne at ./scripts/kernel-doc line 1819, line 6494. Use of uninitialized value $_[0] in join or string at ./scripts/kernel-doc line 1759, line 6494. Signed-off-by: Jani Nikula --- s

[PATCH v2 00/38] Documentation/sphinx

2016-06-04 Thread Jani Nikula
Jon, this is v2 of [1] and [2], with a considerable amount of polish and fixes added. We started dogfooding this within drm-intel, and Daniel has reviewed the lot and contributed a number of fixes, most notably accurate file and line number references from Sphinx build errors/warnings to the kernel

[PATCH v2 02/38] kernel-doc: support printing exported and non-exported symbols

2016-06-04 Thread Jani Nikula
Currently we use docproc to figure out which symbols are exported, and then docproc calls kernel-doc on specific functions, to get documentation on exported functions. According to git blame and docproc comments, this is due to historical reasons, as functions and their corresponding EXPORT_SYMBOL*

[PATCH v2 14/38] kernel-doc/rst: reference functions according to C domain spec

2016-06-04 Thread Jani Nikula
The Sphinx C domain spec says function references should include the parens (). Signed-off-by: Jani Nikula --- scripts/kernel-doc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 659d529b99d8..e8651d7cf1cd 100755 --- a/scripts/kern

[PATCH v2 11/38] kernel-doc: add names for states and substates

2016-06-04 Thread Jani Nikula
Make the state machine a bit more readable by adding constants for parser states and inline member documentation parser substates. While at it, rename the "split" documentation to "inline" documentation. No functional changes. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 91 +

[PATCH v2 17/38] kernel-doc/rst: add support for struct/union/enum member references

2016-06-04 Thread Jani Nikula
Link "&foo->bar", "&foo->bar()", "&foo.bar", and "&foo.bar()" to the struct/union/enum foo definition. The members themselves do not currently have anchors to link to, but this is better than nothing, and promotes a universal notation. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 5 +

[PATCH v2 03/38] Documentation/sphinx: add basic working Sphinx configuration and build

2016-06-04 Thread Jani Nikula
Add basic configuration and makefile to build documentation from any .rst files under Documentation using Sphinx. For starters, there's just the placeholder index.rst. At the top level Makefile, hook Sphinx documentation targets alongside (but independent of) the DocBook toolchain, having both be

[PATCH v2 12/38] kernel-doc: add names for output selection

2016-06-04 Thread Jani Nikula
Make the output selection a bit more readable by adding constants for the various types of output selection. While at it, actually call the variable for choosing what to output $output_selection. No functional changes. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 47 +

[PATCH v2 16/38] kernel-doc/rst: add support for &union foo and &typedef foo references

2016-06-04 Thread Jani Nikula
Let the user use "&union foo" and "&typedef foo" to reference foo. The difference to using "union &foo", "typedef &foo", or just "&foo" (which are valid too) is that "union" and "typedef" become part of the link text. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 4 1 file changed, 4

[PATCH v2 15/38] kernel-doc/rst: &foo references are more universal than structs

2016-06-04 Thread Jani Nikula
It's possible to use &foo to reference structs, enums, typedefs, etc. in the Sphinx C domain. Thus do not prefix the links with "struct". Signed-off-by: Jani Nikula --- scripts/kernel-doc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/kernel-doc b/scripts/kernel-do

[PATCH v2 08/38] sphinx: cheesy script to convert .tmpl files

2016-06-04 Thread Jani Nikula
From: Jonathan Corbet This script uses pandoc to convert existing DocBook template files to RST templates. A couple of sed scripts are need to massage things both before and after the conversion, but the result is then usable with no hand editing. [Jani: Change usage to tmplcvt . Fix escaping

[PATCH v2 18/38] kernel-doc/rst: drop redundant unescape in highlighting

2016-06-04 Thread Jani Nikula
This bit is already done by xml_unescape() above. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index e0fd14f6d711..8f9eac509377 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -1796,7 +179

[PATCH v2 13/38] kernel-doc/rst: do not output DOC: section titles for requested ones

2016-06-04 Thread Jani Nikula
If the user requests a specific DOC: section by name, do not output its section title. In these cases, the surrounding context already has a heading, and the DOC: section title is only used as an identifier and a heading for clarity in the source file. Signed-off-by: Jani Nikula --- scripts/kern

[PATCH v2 10/38] Documentation/sphinx: nicer referencing of struct in docbook->rst conversion

2016-06-04 Thread Jani Nikula
Add "struct" in the label of the reference. Signed-off-by: Jani Nikula --- Documentation/sphinx/convert_template.sed | 10 +++--- Documentation/sphinx/post_convert.sed | 10 +++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/Documentation/sphinx/convert_template.s

[PATCH v2 04/38] Documentation: add .gitignore

2016-06-04 Thread Jani Nikula
The Sphinx output directory is generated. Signed-off-by: Jani Nikula --- Documentation/.gitignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 Documentation/.gitignore diff --git a/Documentation/.gitignore b/Documentation/.gitignore new file mode 100644 index ..53752db2

[PATCH v2 05/38] Documentation/sphinx: add Sphinx kernel-doc directive extension

2016-06-04 Thread Jani Nikula
Add an extension to handle kernel-doc directives, to call kernel-doc according to the arguments and parameters given to the reStructuredText directive. The syntax for the kernel-doc directive is: .. kernel-doc:: FILENAME :export: :internal: :functions: FUNCTION [FUNCTION ...] :doc: SE

[PATCH v2 36/38] scripts/kernel-doc: Also give functions symbolic names

2016-06-04 Thread Jani Nikula
From: Daniel Vetter state3 = prototype parsing, so name them accordingly. Cc: Jani Nikula Cc: linux-...@vger.kernel.org Cc: Jonathan Corbet Signed-off-by: Daniel Vetter Signed-off-by: Jani Nikula --- scripts/kernel-doc | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --gi

[PATCH v2 20/38] kernel-doc: do not regard $, %, or & prefixes as special in section names

2016-06-04 Thread Jani Nikula
The use of these is confusing in the script, and per this grep, they're not used anywhere anyway: $ git grep " \* [%$&][a-zA-Z0-9_]*:" -- *.[ch] | grep -v "\$\(Id\|Revision\|Date\)" While at it, throw out the constants array, nothing is ever put there again. Signed-off-by: Jani Nikula --- scr

[PATCH v2 35/38] doc/sphinx: Stop touching state_machine internals

2016-06-04 Thread Jani Nikula
From: Daniel Vetter Instead of just forcefully inserting our kernel-doc input and letting the state machine stumble over it the recommended way is to create ViewList, parse that and then return the list of parsed nodes. Suggested by Jani. Cc: Jani Nikula Cc: linux-...@vger.kernel.org Cc: Jonat

[PATCH v2 26/38] kernel-doc: strip leading whitespace from continued param descs

2016-06-04 Thread Jani Nikula
If a param description spans multiple lines, check any leading whitespace in the first continuation line, and remove same amount of whitespace from following lines. This allows indentation in the multi-line parameter descriptions for aesthetical reasons while not causing accidentally significant i

[PATCH v2 28/38] kernel-doc/rst: remove fixme comment

2016-06-04 Thread Jani Nikula
Yes, for our purposes the type should contain typedef. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 19cee0cd53a3..425a94be04f6 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -1897,7

[PATCH v2 29/38] kernel-doc: limit the "section header:" detection to a select few

2016-06-04 Thread Jani Nikula
kernel-doc currently identifies anything matching "section header:" (specifically a string of word characters and spaces followed by a colon) as a new section in the documentation comment, and renders the section header accordingly. Unfortunately, this turns all uses of colon into sections, mostly

[PATCH v2 37/38] scripts/kernel-doc: Add option to inject line numbers

2016-06-04 Thread Jani Nikula
From: Daniel Vetter Opt-in since this wreaks the rst output and must be removed by consumers again. This is useful to adjust the linenumbers for included kernel-doc snippets in shinx. With that sphinx error message will be accurate when there's issues with the rst-ness of the kernel-doc comments.

[PATCH v2 38/38] doc/sphinx: Track line-number of starting blocks

2016-06-04 Thread Jani Nikula
From: Daniel Vetter Design is pretty simple: kernel-doc inserts breadcrumbs with line numbers, and sphinx picks them up. At first I went with a sphinx comment, but inserting those at random places seriously upsets the parser, and must be filtered. Hence why this version now uses "#define LINEO "

[PATCH v2 27/38] kernel-doc/rst: use *undescribed* instead of _undescribed_

2016-06-04 Thread Jani Nikula
The latter isn't special to rst. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index f6f37e71dc08..19cee0cd53a3 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -1839,7

[PATCH v2 32/38] Documentation/sphinx: fix kernel-doc extension on python3

2016-06-04 Thread Jani Nikula
Reconcile differences between python2 and python3 on dealing with stdout, stderr from Popen. This fixes "name 'unicode' is not defined" errors on python3. We'll need to try to keep the extension working on both python-sphinx and python3-sphinx so we don't need two copies. Reported-and-tested-by: M

[PATCH v2 33/38] doc/sphinx: Pass right filename as source

2016-06-04 Thread Jani Nikula
From: Daniel Vetter With this error output becomes almost readable. The line numbers are still totally bonghits, but that's a lot harder to pull out of kerneldoc. We'd essentially have to insert some special markers in the kernel-doc output, split the output along these markers and then insert ea

[PATCH v2 34/38] scripts/kernel-doc: Remove duplicated DOC: start handling

2016-06-04 Thread Jani Nikula
From: Daniel Vetter Further up in the state machinery we switch from STATE_NAME to STATE_DOCBLOCK when we match /$doc_block/. Which means this block of code here is entirely unreachable, unless there are multiple DOC: sections within a single kernel-doc comment. Getting a list of all the files w

[PATCH v2 24/38] kernel-doc/rst: change the output layout

2016-06-04 Thread Jani Nikula
Move away from field lists, and simply use **strong emphasis** for section headings on lines of their own. Do not use rst section headings, because their nesting depth depends on the surrounding context, which kernel-doc has no knowledge of. Also, they do not need to end up in any table of contexts

[PATCH v2 21/38] kernel-doc: fix wrong code indentation

2016-06-04 Thread Jani Nikula
No functional changes. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index f795660dfc7b..c154c3205df1 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -2878,7 +2878,7 @@ sub

[PATCH v2 23/38] kernel-doc: strip leading blank lines from inline doc comments

2016-06-04 Thread Jani Nikula
The inline member markup allows whitespace lines before the actual documentation starts. Strip the leading blank lines. This improves the rst output. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 4 1 file changed, 4 insertions(+) diff --git a/scripts/kernel-doc b/scripts/kernel-doc

[PATCH v2 31/38] kernel-doc: reset contents and section harder

2016-06-04 Thread Jani Nikula
If the documentation comment does not have params or sections, the section heading may leak from the previous documentation comment. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 3ac4b57ed76a

[PATCH v2 22/38] kernel-doc/rst: blank lines in output are not needed

2016-06-04 Thread Jani Nikula
Current approach leads to two blank lines, while one is enough. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index c154c3205df1..a89ff3ca366c 100755 --- a/scripts/kernel-doc +++

[PATCH v2 25/38] kernel-doc: improve handling of whitespace on the first line param description

2016-06-04 Thread Jani Nikula
Handle whitespace on the first line of param text as if it was the empty string. There is no need to add the newline in this case. This improves the rst output in particular, where blank lines may be problematic in parameter lists. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 8

[PATCH v2 30/38] kernel-doc: concatenate contents of colliding sections

2016-06-04 Thread Jani Nikula
If there are multiple sections with the same section name, the current implementation results in several sections by the same heading, with the content duplicated from the last section to all. Even if there's the error message, a more graceful approach is to combine all the identically named sectio

Re: [PATCH 00/10] Documentation/Sphinx

2016-06-04 Thread Jani Nikula
On Sat, 04 Jun 2016, Jonathan Corbet wrote: > On Mon, 30 May 2016 23:05:34 +0300 > Jani Nikula wrote: > >> To be clear, the "sphinx-for-docs-next" branch of [1], [2] is what I >> propose to merge at this time. There's the Sphinx configuration, kernel >> build integration, Sphinx kernel-doc extens

Re: [PATCH V3 1/2] irqchip/gicv3-its: split its_alloc_tables() into two functions

2016-06-04 Thread Marc Zyngier
On Mon, 9 May 2016 15:58:25 -0500 Shanker Donthineni wrote: > The function is getting out of control, it has too many goto > statements and would be too complicated for adding a feature > two-level device table. So, it is time for us to cleanup and > move some of the logic to a separate function

[PATCH v2 19/38] kernel-doc/rst: highlight function/struct/enum purpose lines too

2016-06-04 Thread Jani Nikula
Let the user use @foo, &bar, %baz, etc. in the first kernel-doc purpose line too. Signed-off-by: Jani Nikula --- scripts/kernel-doc | 37 + 1 file changed, 25 insertions(+), 12 deletions(-) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index 8f9eac5093

[PATCH v2 09/38] sphinx: update docbook->rst conversion script match C domain spec

2016-06-04 Thread Jani Nikula
Function references should include the parens (), struct references should not include "struct". Signed-off-by: Jani Nikula --- Documentation/sphinx/convert_template.sed | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/sphinx/convert_template.sed b/Docum

[PATCH v2 07/38] Documentation/sphinx: set version and release properly

2016-06-04 Thread Jani Nikula
Read the version and release from the top level Makefile (for use when Sphinx is invoked directly, by e.g. Read the Docs), but override them via Sphinx command line arguments in a normal documentation build. Signed-off-by: Jani Nikula --- Documentation/Makefile.sphinx | 2 +- Documentation/conf

[PATCH v2 06/38] Documentation/sphinx: configure the kernel-doc extension

2016-06-04 Thread Jani Nikula
Tell Sphinx where to find the extension, and pass on the kernel src tree and kernel-doc paths to the extension. With this, any .rst files under Documentation may contain the kernel-doc rst directive to include kernel-doc documentation from any source file. While building, it may be handy to pass

[PATCH] drivers: ssb: Change bare unsigned to unsigned int to suit coding style

2016-06-04 Thread Hugh Sipière
These lines just have unsigned gpio rather than unsigned int gpio. I changed it to suit the coding style. Signed-off-by: Hugh Sipière --- drivers/ssb/driver_gpio.c | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/drivers/ssb/driver_gpio.c b/drivers/ssb

Re: [PATCH] drivers: ssb: Fix comments to suit coding style

2016-06-04 Thread Michael Büsch
On Sat, 4 Jun 2016 12:32:13 +0100 Hugh Sipière wrote: > I changed it so that these two comments do not end on a line with text. > > Signed-off-by: Hugh Sipière > --- > drivers/ssb/driver_gpio.c | 6 -- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/drivers/ssb/driver_

Re: [PATCH V5 5/7] irqchip, gicv3, its: Probe ITS in the ACPI way.

2016-06-04 Thread Marc Zyngier
On Tue, 31 May 2016 13:19:42 +0200 Tomasz Nowicki wrote: > ITS is prepared for being initialized different than DT, > therefore we can initialize it in ACPI way. We collect register base > address from MADT table and pass mandatory info to firmware-agnostic > ITS init call. > > Note that we are

Re: [PATCH] drivers: ssb: Change bare unsigned to unsigned int to suit coding style

2016-06-04 Thread Michael Büsch
On Sat, 4 Jun 2016 12:50:05 +0100 Hugh Sipière wrote: > These lines just have unsigned gpio rather than unsigned int gpio. > I changed it to suit the coding style. > > Signed-off-by: Hugh Sipière Acked-by: Michael Buesch Please send this to the MIPS tree, because this basically is MIPS-only

[PATCH] ARM: dts: omap3-gta04: Add RFID eeprom node

2016-06-04 Thread Marek Belisko
From: "H. Nikolaus Schaller" Define RFID eeprom node which is present on gta04 device. Signed-off-by: H. Nikolaus Schaller Signed-off-by: Marek Belisko --- arch/arm/boot/dts/omap3-gta04.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/omap3-gta04.dtsi b/arch/a

Re: [PATCH V5 7/7] acpi, gicv3, its: Use MADT ITS subtable to do PCI/MSI domain initialization.

2016-06-04 Thread Marc Zyngier
On Tue, 31 May 2016 13:19:44 +0200 Tomasz Nowicki wrote: > Let ACPI build ITS PCI MSI domain. ACPI is responsible for retrieving > inner domain token and passing it on to its_pci_msi_init_one generic > init call. > > We have now full PCI MSI domain stack, thus we can enable ITS initialization >

Re: [PATCH v2 00/38] Documentation/sphinx

2016-06-04 Thread Daniel Vetter
On Sat, Jun 04, 2016 at 02:37:01PM +0300, Jani Nikula wrote: > Jon, this is v2 of [1] and [2], with a considerable amount of polish and > fixes added. We started dogfooding this within drm-intel, and Daniel has > reviewed the lot and contributed a number of fixes, most notably > accurate file and l

Re: [PATCH 5/5] intel_idle: Add S0ix validation

2016-06-04 Thread Alan
> I would expect those IP blocks to do nothing and not block lower power > states if the firmware is not loaded. If that is not the case, I think > that should be fixed such that those lower power states are at least > available during suspend (if not during runtime). If your Skylake+ > system is n

Re: Dcache oops

2016-06-04 Thread Jeff Layton
On Sat, 2016-06-04 at 01:56 +0100, Al Viro wrote: > On Fri, Jun 03, 2016 at 07:58:37PM -0400, Oleg Drokin wrote: > > > > > > > > > EOPENSTALE, that is...  Oleg, could you check if the following works? > > Yes, this one lasted for an hour with no crashing, so it must be good. > > Thanks. > > (not

Re: [PATCH V3 1/2] ACPI: Add support for ResourceSource/IRQ domain mapping

2016-06-04 Thread Marc Zyngier
On Fri, 13 May 2016 12:16:42 -0400 Agustin Vega-Frias wrote: > This allows irqchip drivers to associate an ACPI DSDT device to > an IRQ domain and provides support for using the ResourceSource > in Extended IRQ Resources to find the domain and map the IRQs > specified on that domain. > > Signed-

Re: [PATCH V3 2/2] irqchip: qcom: Add IRQ combiner driver

2016-06-04 Thread Marc Zyngier
On Fri, 13 May 2016 12:16:43 -0400 Agustin Vega-Frias wrote: > Driver for interrupt combiners in the Top-level Control and Status > Registers (TCSR) hardware block in Qualcomm Technologies chips. > > An interrupt combiner in this block combines a set of interrupts by > OR'ing the individual inte

Re: [PATCH 00/10] Documentation/Sphinx

2016-06-04 Thread Jani Nikula
On Fri, 03 Jun 2016, Jonathan Corbet wrote: > [So I'm finally trying to get into this for real, hopefully I won't be > interrupted too many times...expect a few mails as I catch up.] > > On Fri, 20 May 2016 16:39:31 +0300 > Jani Nikula wrote: > >> There are a few tradeoffs, of course. First, this

Re: [PATCH 00/10] Documentation/Sphinx

2016-06-04 Thread Jani Nikula
On Fri, 03 Jun 2016, Jonathan Corbet wrote: > On Fri, 3 Jun 2016 22:24:03 +0200 > Daniel Vetter wrote: > >> > This is maybe a job for a separate tool. A related issue is the (fairly >> > frequent) "oh look, none of the comments in $FILE are being used" >> > realization that seems to happen fairl

[PATCH v2 3/2] lib/uuid.c: Silence an unchecked return value warning

2016-06-04 Thread George Spelvin
Andy Shevchenko pointed out that __uuid_to_bin doesn't need to check the return value from hex2bin(), because the preceding uuid_is_valid() check already took care of that. But hex2bin() is declared __must_check, so checking anyway is the simplest way to silence the warning. This cancels a small

Re: [PATCH] rtc: interface: ignore exprired timers one enqueing new timers

2016-06-04 Thread Alexandre Belloni
On 16/05/2016 at 17:22:54 +0100, Colin King wrote : > From: Colin Ian King > > This patch fixes a RTC wakealarm issue, namely, the event fires during > hibernate and is not cleared from the list, causing hwclock to block. > > The current enqueuing does not trigger an alarm if any expired timers

Re: [PATCH] power_supply: power_supply_read_temp only if use_cnt > 0

2016-06-04 Thread Sebastian Reichel
Hi Rhyland, Thanks for the patch. On Fri, Jun 03, 2016 at 04:30:50PM -0400, Rhyland Klein wrote: > Add check to power_supply_read_temp() to only use the power_supply > get_property() callback if the use_cnt is > 0. The use_cnt will > be incremented at the end of __power_supply_register, so this w

Re: [PATCH v2 1/1] rtc: ds1685: correct check of day of month

2016-06-04 Thread Alexandre Belloni
On 22/05/2016 at 00:18:55 +0200, Heinrich Schuchardt wrote : > The day of month is checked in ds1685_rtc_read_alarm > and ds1685_rtc_set_alarm. > > Multiple errors exist in the day of month check. > > Operator ! has a higher priority than &&. > (!(mday >= 1) && (mday <= 31)) is false for mday ==

Re: [PATCH] rtc-pcf2123: use sign_extend32() for sign extension

2016-06-04 Thread Alexandre Belloni
On 18/04/2016 at 12:17:44 +0200, Martin Kepplinger wrote : > Signed-off-by: Martin Kepplinger > --- > drivers/rtc/rtc-pcf2123.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > Applied, thanks. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering htt

[PATCH] net: wireless: marvell: libertas: Remove create_workqueue

2016-06-04 Thread Bhaktipriya Shridhar
alloc_workqueue replaces deprecated create_workqueue(). In if_sdio.c, the workqueue card->workqueue has workitem &card->packet_worker, which is mapped to if_sdio_host_to_card_worker. The workitem is involved in sending packets to firmware. Forward progress under memory pressure is a requirement he

Re: [PATCH] net: fjes: fjes_main: Remove create_workqueue

2016-06-04 Thread Bhaktipriya Shridhar
Thank you for your feedback. Will send another patch with changed description. Bhaktipriya. On Fri, Jun 3, 2016 at 5:25 AM, Izumi, Taku wrote: > Dear Bhaktipriya, > > Thanks. Looks good to me. > > Sincerely, > Taku Izumi > >> -Original Message- >> From: Bhaktipriya Shridhar [mailto:bhak

[PATCH v3 1/3] mm/hugetlb: Simplify hugetlb unmap

2016-06-04 Thread Aneesh Kumar K.V
For hugetlb like THP (and unlike regular page), we do tlb flush after dropping ptl. Because of the above, we don't need to track force_flush like we do now. Instead we can simply call tlb_remove_page() which will do the flush if needed. No functionality change in this patch. Signed-off-by: Aneesh

[PATCH v3 2/3] mm: Change the interface for __tlb_remove_page

2016-06-04 Thread Aneesh Kumar K.V
This update the generic and arch specific implementation to return true if we need to do a tlb flush. That means if a __tlb_remove_page indicate a flush is needed, the page we try to remove need to be tracked and added again after the flush. We need to track it because we have already update the pt

[PATCH v3 3/3] mm/mmu_gather: Track page size with mmu gather and force flush if page size change

2016-06-04 Thread Aneesh Kumar K.V
This allows arch which need to do special handing with respect to different page size when flushing tlb to implement the same in mmu gather Signed-off-by: Aneesh Kumar K.V --- arch/arm/include/asm/tlb.h | 12 arch/ia64/include/asm/tlb.h | 12 arch/s390/include/asm/tlb.

Re: [PATCH v4] rtc:add support for maxim rtc max6916

2016-06-04 Thread Alexandre Belloni
On 01/06/2016 at 11:59:54 +0530, venkat.prashanth2...@gmail.com wrote : > From: VENKAT PRASHANTH B U > > This is a patch to add support for > maxim rtc max6916 > > Signed-off-by: Venkat Prashanth B U > --- > changelog v4: > - fixed the line wrapping to around 72 characters > - Aligned the value

[PATCH v2] net: fjes: fjes_main: Remove create_workqueue

2016-06-04 Thread Bhaktipriya Shridhar
alloc_workqueue replaces deprecated create_workqueue(). The workqueue adapter->txrx_wq has workitem &adapter->raise_intr_rxdata_task per adapter. Extended Socket Network Device is shared memory based, so someone's transmission denotes other's reception. raise_intr_rxdata_task raises interruption

Re: [33/54] MAINTAINERS: Add file patterns for wireless device tree bindings

2016-06-04 Thread Kalle Valo
Geert Uytterhoeven wrote: > Submitters of device tree binding documentation may forget to CC > the subsystem maintainer if this is missing. > > Signed-off-by: Geert Uytterhoeven > Cc: Kalle Valo > Cc: linux-wirel...@vger.kernel.org Thanks, 1 patch applied to wireless-drivers.git: 182fd9eecb28

Re: [PATCH] net: wireless: marvell: libertas: Remove create_workqueue

2016-06-04 Thread Kalle Valo
Bhaktipriya Shridhar writes: > alloc_workqueue replaces deprecated create_workqueue(). > > In if_sdio.c, the workqueue card->workqueue has workitem > &card->packet_worker, which is mapped to if_sdio_host_to_card_worker. > The workitem is involved in sending packets to firmware. > Forward progress

Re: [PATCH V3 1/2] irqchip/gicv3-its: split its_alloc_tables() into two functions

2016-06-04 Thread Shanker Donthineni
Hi Marc, On 06/04/2016 03:53 AM, Marc Zyngier wrote: > On Mon, 9 May 2016 15:58:25 -0500 > Shanker Donthineni wrote: > >> The function is getting out of control, it has too many goto >> statements and would be too complicated for adding a feature >> two-level device table. So, it is time for us t

Re: [PATCH 1/1] scsi: storvsc: Filter out storvsc messages CD-ROM medium not present

2016-06-04 Thread Martin K. Petersen
> "Cathy" == Cathy Avery writes: Cathy> When a virtual scsi DVD device is present with no image file Cathy> attached the storvsc driver logs all resulting unnecessary sense Cathy> errors whenever IO is issued to the device. Tweaked whitespace and applied to 4.8/scsi-queue. -- Martin K. Pet

Re: [PATCH] net: wireless: marvell: libertas: Remove create_workqueue

2016-06-04 Thread Bhaktipriya Shridhar
On Sat, Jun 4, 2016 at 7:59 PM, Kalle Valo wrote: > > $ git log --oneline --no-merges -10 Sure. Will keep that in mind. Thanks, Bhaktipriya

  1   2   3   >