[PATCH v9 11/13] slimbus: qcom: Add Qualcomm Slimbus controller driver

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia This controller driver programs manager, interface, and framer devices for Qualcomm's slimbus HW block. Manager component currently implements logical address setting, and messaging interface. Interface device reports bus synchronization information, and framer device clocks th

[PATCH v9 12/13] slimbus: qcom: Add runtime-pm support using clock-pause

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia Slimbus HW mandates that clock-pause sequence has to be executed before disabling relevant interface and core clocks. Runtime-PM's autosuspend feature is used here to enter/exit low power mode for Qualcomm's Slimbus controller. Autosuspend feature enables driver to avoid changi

[PATCH v9 10/13] dt-bindings: Add qcom slimbus controller bindings

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia This patch add device tree bindings for Qualcomm slimbus controller. Signed-off-by: Sagar Dharia Signed-off-by: Srinivas Kandagatla Reviewed-by: Rob Herring --- .../devicetree/bindings/slimbus/slim-qcom-ctrl.txt | 39 ++ 1 file changed, 39 insertions(+)

[PATCH v9 13/13] MAINTAINERS: Add SLIMbus maintainer

2017-12-07 Thread srinivas . kandagatla
From: Srinivas Kandagatla Add myself as maintainer for slimbus. Signed-off-by: Srinivas Kandagatla Acked-by: Bjorn Andersson --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index aa71ab52fd76..f26bf2707709 100644 --- a/MAINTAINERS +++ b/MA

[PATCH v9 09/13] slimbus: core: add common defines required for controllers

2017-12-07 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds some common constant defines which are required for qcom slim controller driver. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/slimbus.h | 33 + 1 file changed, 33 insertions(+) diff --git a/drivers/slimbus/sli

[PATCH v9 00/13] Introduce framework for SLIMbus device driver

2017-12-07 Thread srinivas . kandagatla
From: Srinivas Kandagatla Thanks for everyone who reviewed v8 patchset, here is v9 with review comments addressed. SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is used

[PATCH v9 08/13] regmap: add SLIMbus support

2017-12-07 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to read/write SLIMbus value elements. Currently it only supports byte read/write. Adding this support in regmap would give codec drivers more flexibility when there are more than 2 control interfaces like SLIMbus, i2c. Without this patch each cod

[PATCH v9 01/13] Documentation: Add SLIMbus summary

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is used to communicate with peripheral components like audio-codec. The summary of SLIMbus and API is d

[PATCH v9 06/13] slimbus: Add messaging APIs to slimbus framework

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia SLIMbus devices use value-element, and information elements to control device parameters (e.g. value element is used to represent gain for codec, information element is used to represent interrupt status for codec when codec interrupt fires). Messaging APIs are used to set/get

[PATCH v9 07/13] slimbus: Add support for 'clock-pause' feature

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia Per SLIMbus specification, a reconfiguration sequence known as 'clock pause' needs to be broadcast over the bus while entering low- power mode. Clock-pause is initiated by the controller driver. To exit clock-pause, controller typically wakes up the framer device. Since wakeup

[PATCH v9 05/13] slimbus: core: add support to device tree helper

2017-12-07 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to parse slim devices from device tree. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/core.c | 50 ++ 1 file changed, 50 insertions(+) diff --git a/drivers/slimbus/core.c b/drivers/slimb

[PATCH v9 02/13] dt-bindings: Add SLIMbus bindings

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is used to communicate with peripheral components like audio-codec. This patch adds device tree binding

[PATCH v9 03/13] slimbus: Add SLIMbus bus type

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia SLIMbus (Serial Low Power Interchip Media Bus) is a specification developed by MIPI (Mobile Industry Processor Interface) alliance. SLIMbus is a 2-wire implementation, which is used to communicate with peripheral components like audio-codec. SLIMbus uses Time-Division-Multiplex

[PATCH v9 04/13] slimbus: core: Add slim controllers support

2017-12-07 Thread srinivas . kandagatla
From: Sagar Dharia This patch adds support to slim controllers in the slim core, including some utility functions invoked by the controller and slim device drivers. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/core.c| 306 ++ drivers/sl

Re: [PATCH 0/1] USB Audio Device Class 3.0 Gadget support

2017-12-07 Thread Ruslan Bilovol
Hi Felipe, On Mon, Dec 4, 2017 at 1:36 PM, Felipe Balbi wrote: > > Hi, > > Ruslan Bilovol writes: >> On Tue, Nov 7, 2017 at 3:52 AM, Ruslan Bilovol >> wrote: >>> Hi, >>> >>> This patch adds USB Audio Device Class 3.0 [1] function >>> support to gadget subsystem. >>> I didn't add UAC3 support t

RE: [PATCH v2] MIPS: Add nonxstack=on|off kernel parameter

2017-12-07 Thread Miodrag Dinic
Hi Paul, David, Maciej, thanks for taking interest in this topic and your valuable comments. Aleksandar is currently on sick leave but I think I can address all previous questions and concerns by answering to this Pauls last post: > On Wed, Dec 06, 2017 at 05:50:52PM +, Maciej W. Rozycki wrot

Re: [PATCH v13 3/7] mm, oom: cgroup-aware OOM killer

2017-12-07 Thread Roman Gushchin
On Wed, Dec 06, 2017 at 05:24:13PM -0800, Andrew Morton wrote: > > As a result of the "stalled MM patches" discussion I've dropped these > three patches: > > mm,oom: move last second allocation to inside the OOM killer > mm,oom: use ALLOC_OOM for OOM victim's last second allocation > mm,oom: remo

[PATCH 4.9 102/109] dma-buf: Update kerneldoc for sync_file_create

2017-12-07 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Vetter commit 24a367348a017555f982a9ee137070a7a821fa97 upstream. This was missed when adding a dma_fence_get call. While at it also remove the kerneldoc for the static inline helper - no

[PATCH 2/2] acpi, x86: Use SPCR table for earlycon on x86

2017-12-07 Thread Prarit Bhargava
The ACPI SPCR code has been used to define an earlycon console for arm64 and can be used for x86. Modify the ACPI SPCR parsing code to account for console behaviour differences between arm64 and x86. Initialize the SPCR code from x86 ACPI initialization code. Signed-off-by: Prarit Bhargava Cc:

[PATCH 0/2] acpi, x86: Add SPCR table support

2017-12-07 Thread Prarit Bhargava
The SPCR (Serial Port Console Redirection) Table provides information about the configuration of serial port. This information can be used to configure the early console. SPCR support was added for arm64 and is made available across all arches in this patchset. The first patch adds a weak per-ar

[PATCH 1/2] acpi, spcr: Make SPCR avialable to other architectures

2017-12-07 Thread Prarit Bhargava
Other architectures can use SPCR to setup an early console or console but the current code is ARM64 specific. Change the name of parse_spcr() to acpi_parse_spcr(). Add a weak function acpi_arch_setup_console() that can be used for arch-specific setup. Move SPCR initialization flag into ACPI code

Re: [PATCH v9 01/13] Documentation: Add SLIMbus summary

2017-12-07 Thread Jonathan Corbet
On Thu, 7 Dec 2017 10:27:08 + srinivas.kandaga...@linaro.org wrote: A couple of overall comments... > Documentation/driver-api/index.rst | 1 + > Documentation/driver-api/slimbus/index.rst | 15 > Documentation/driver-api/slimbus/summary.rst | 106 >

Re: [PATCH] docs: refcount_t documentation

2017-12-07 Thread Jonathan Corbet
On Tue, 5 Dec 2017 12:46:35 +0200 Elena Reshetova wrote: > Some functions from refcount_t API provide different > memory ordering guarantees that their atomic counterparts. > This adds a document outlining these differences ( > Documentation/core-api/refcount-vs-atomic.rst) as well as > some oth

Re: [PATCH] docs: refcount_t documentation

2017-12-07 Thread Kees Cook
On Thu, Dec 7, 2017 at 9:58 AM, Jonathan Corbet wrote: > On Tue, 5 Dec 2017 12:46:35 +0200 > Elena Reshetova wrote: > >> Some functions from refcount_t API provide different >> memory ordering guarantees that their atomic counterparts. >> This adds a document outlining these differences ( >> Doc

Re: [PATCH 1/2] acpi, spcr: Make SPCR avialable to other architectures

2017-12-07 Thread Timur Tabi
On Thu, Dec 7, 2017 at 11:29 AM, Prarit Bhargava wrote: > Other architectures can use SPCR to setup an early console or console but > the current code is ARM64 specific. > > Change the name of parse_spcr() to acpi_parse_spcr(). Add a weak > function acpi_arch_setup_console() that can be used for

Re: [PATCH 2/2] acpi, x86: Use SPCR table for earlycon on x86

2017-12-07 Thread Timur Tabi
On Thu, Dec 7, 2017 at 11:29 AM, Prarit Bhargava wrote: > -int __init acpi_parse_spcr(bool earlycon) > +int __init acpi_parse_spcr(bool earlycon, bool enable_console) > { > static char opts[ACPI_SPCR_OPTS_SIZE]; > static char uart[ACPI_SPCR_BUF_SIZE]; > @@ -113,7 +113,8 @@ int __i

Re: [PATCH 2/2] acpi, x86: Use SPCR table for earlycon on x86

2017-12-07 Thread Prarit Bhargava
On 12/07/2017 01:46 PM, Timur Tabi wrote: > On Thu, Dec 7, 2017 at 11:29 AM, Prarit Bhargava wrote: >> -int __init acpi_parse_spcr(bool earlycon) >> +int __init acpi_parse_spcr(bool earlycon, bool enable_console) >> { >> static char opts[ACPI_SPCR_OPTS_SIZE]; >> static char uart

Re: [PATCH 1/2] acpi, spcr: Make SPCR avialable to other architectures

2017-12-07 Thread Prarit Bhargava
On 12/07/2017 01:43 PM, Timur Tabi wrote: > On Thu, Dec 7, 2017 at 11:29 AM, Prarit Bhargava wrote: >> Other architectures can use SPCR to setup an early console or console but >> the current code is ARM64 specific. >> >> Change the name of parse_spcr() to acpi_parse_spcr(). Add a weak >> funct

Re: [PATCH 1/2] acpi, spcr: Make SPCR avialable to other architectures

2017-12-07 Thread Timur Tabi
On 12/07/2017 01:05 PM, Prarit Bhargava wrote: Please give us a chance to test this patch before merging. We've had a lot of problems with our E44 work-around, and we need to make sure that qdf2400_erratum_44_present function is called before the pl011 driver is probed. Timor, do you know of a

Re: [PATCH] docs: add documentation on printing kernel addresses

2017-12-07 Thread Tobin C. Harding
Please drop this patch, needs amendment (commented inline). On Thu, Dec 07, 2017 at 11:26:38AM +1100, Tobin C. Harding wrote: > Hashing addresses printed with printk specifier %p was implemented > recently. During development a number of issues were raised regarding > leaking kernel addresses to u

Re: [PATCH v2] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
On Thu, Dec 07, 2017 at 08:44:37AM +0100, Markus Heiser wrote: > > > Am 07.12.2017 um 06:49 schrieb Tobin C. Harding : > > > > Documentation/printk-formats.txt is a candidate for conversion to > > ReStructuredText format. Some effort has already been made to do this > > conversion even thought th

Re: [PATCH v2] doc: convert printk-formats.txt to rst

2017-12-07 Thread Jonathan Corbet
On Fri, 8 Dec 2017 07:44:34 +1100 "Tobin C. Harding" wrote: > Where is Jon's tree hosted please, I don't see it on kernel.org >From the MAINTAINERS file: T: git git://git.lwn.net/linux.git docs-next jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the

Re: [PATCH v2] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
On Thu, Dec 07, 2017 at 01:52:56PM -0700, Jonathan Corbet wrote: > On Fri, 8 Dec 2017 07:44:34 +1100 > "Tobin C. Harding" wrote: > > > Where is Jon's tree hosted please, I don't see it on kernel.org > > From the MAINTAINERS file: > > T: git git://git.lwn.net/linux.git docs-next > >

Re: [PATCH v2] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
On Thu, Dec 07, 2017 at 01:52:56PM -0700, Jonathan Corbet wrote: > On Fri, 8 Dec 2017 07:44:34 +1100 > "Tobin C. Harding" wrote: > > > Where is Jon's tree hosted please, I don't see it on kernel.org > > From the MAINTAINERS file: > > T: git git://git.lwn.net/linux.git docs-next Unle

Re: [PATCH v2] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
On Thu, Dec 07, 2017 at 01:52:56PM -0700, Jonathan Corbet wrote: > On Fri, 8 Dec 2017 07:44:34 +1100 > "Tobin C. Harding" wrote: > > > Where is Jon's tree hosted please, I don't see it on kernel.org > > From the MAINTAINERS file: > > T: git git://git.lwn.net/linux.git docs-next Just

Re: [PATCH v2] doc: convert printk-formats.txt to rst

2017-12-07 Thread Jonathan Corbet
On Fri, 8 Dec 2017 08:21:09 +1100 "Tobin C. Harding" wrote: > Unless I'm a proper wombat that entry is not in the mainline MAINTAINERS > file. Um...from current git... DOCUMENTATION M: Jonathan Corbet L: linux-doc@vger.kernel.org S: Maintained F: Documentation/ F: scri

Re: [PATCH v2] doc: convert printk-formats.txt to rst

2017-12-07 Thread Joe Perches
On Fri, 2017-12-08 at 08:21 +1100, Tobin C. Harding wrote: > On Thu, Dec 07, 2017 at 01:52:56PM -0700, Jonathan Corbet wrote: > > On Fri, 8 Dec 2017 07:44:34 +1100 > > "Tobin C. Harding" wrote: > > > > > Where is Jon's tree hosted please, I don't see it on kernel.org > > > > From the MAINTAINERS

Re: [PATCH v2] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
On Thu, Dec 07, 2017 at 08:44:37AM +0100, Markus Heiser wrote: > > > Am 07.12.2017 um 06:49 schrieb Tobin C. Harding : > > > > Documentation/printk-formats.txt is a candidate for conversion to > > ReStructuredText format. Some effort has already been made to do this > > conversion even thought th

Re: [PATCH v2] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
On Thu, Dec 07, 2017 at 02:30:53PM -0700, Jonathan Corbet wrote: > On Fri, 8 Dec 2017 08:21:09 +1100 > "Tobin C. Harding" wrote: > > > Unless I'm a proper wombat that entry is not in the mainline MAINTAINERS > > file. > > Um...from current git... Foiled by me automatic Emacs buffer syncing (mag

[PATCH 1/3] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
Documentation/printk-formats.txt is a candidate for conversion to ReStructuredText format. Some effort has already been made to do this conversion even thought the suffix is currently .txt Changes required to complete conversion - Move printk-formats.txt to core-api/printk-formats.rst - Add ent

[PATCH 3/3] doc: add documentation on printing kernel addresses

2017-12-07 Thread Tobin C. Harding
Hashing addresses printed with printk specifier %p was implemented recently. During development a number of issues were raised regarding leaking kernel addresses to userspace. Other documentation was updated but security/self-protection missed out. Add self-protection documentation regarding print

[PATCH 0/3] doc: update printk documentation

2017-12-07 Thread Tobin C. Harding
This set merges two previous patch attempts [PATCH v2] doc: convert printk-formats.txt to rst [PATCH] docs: add documentation on printing kernel addresses And adds patch amending docs for sysctl kptr_restrict Applies on top of commit: "ae64f9bd1d36 Linux 4.15-rc2" (Doesn't apply on top of Jon'

[PATCH 2/3] doc: update kpt_restrict documentation

2017-12-07 Thread Tobin C. Harding
Recently the behaviour of printk specifier %pK was changed. The documentation does not currently mirror this. Update documentation for sysctl kpt_restrict. Reported-by: Alexander Popov Signed-off-by: Tobin C. Harding --- Documentation/sysctl/kernel.txt | 3 ++- 1 file changed, 2 insertions(+),

Re: [PATCH] doc: convert printk-formats.txt to rst

2017-12-07 Thread Kees Cook
On Tue, Dec 5, 2017 at 5:45 PM, Tobin C. Harding wrote: > Documentation/printk-formats.txt is a candidate for conversion to > ReStructuredText format. Some effort has already been made to do this > conversion even thought the suffix is currently .txt > > Changes required to complete conversion > >

Re: [PATCH] doc: convert printk-formats.txt to rst

2017-12-07 Thread Jonathan Corbet
On Thu, 7 Dec 2017 14:50:42 -0800 Kees Cook wrote: > > +These guides contain general information useful when writing kernel code. > > + > > +.. toctree:: > > + :maxdepth: 1 > > + > > + printk-formats > > I actually think this belongs in the kernel core API documentation > list (Documentati

Re: [PATCH v9 01/13] Documentation: Add SLIMbus summary

2017-12-07 Thread Srinivas Kandagatla
Thankyou for taking time to review the patch, On 07/12/17 17:32, Jonathan Corbet wrote: On Thu, 7 Dec 2017 10:27:08 + srinivas.kandaga...@linaro.org wrote: A couple of overall comments... Documentation/driver-api/index.rst | 1 + Documentation/driver-api/slimbus/index.rst

Re: [PATCH 1/3] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
On Fri, Dec 08, 2017 at 09:27:54AM +1100, Tobin C. Harding wrote: [snip] New comments have come in from Kees Cook in thread for previous version. Please drop this set so Kees's suggestions can be implemented. thanks, Tobin. -- To unsubscribe from this list: send the line "unsubscribe linux-doc" i

Re: [PATCH] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
On Thu, Dec 07, 2017 at 02:50:42PM -0800, Kees Cook wrote: > On Tue, Dec 5, 2017 at 5:45 PM, Tobin C. Harding wrote: > > Documentation/printk-formats.txt is a candidate for conversion to > > ReStructuredText format. Some effort has already been made to do this > > conversion even thought the suffi

Re: [PATCH] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
On Thu, Dec 07, 2017 at 04:01:46PM -0700, Jonathan Corbet wrote: > On Thu, 7 Dec 2017 14:50:42 -0800 > Kees Cook wrote: > > > > +These guides contain general information useful when writing kernel code. > > > + > > > +.. toctree:: > > > + :maxdepth: 1 > > > + > > > + printk-formats > > > >

[PATCH] Documentation/driver-api/usb: Replace dead link

2017-12-07 Thread Stefan Tatschner
This link is dead: $ curl -vI http://usb.cs.tum.edu/usbdoc * Could not resolve host: usb.cs.tum.edu * Closing connection 0 curl: (6) Could not resolve host: usb.cs.tum.edu I found the document somewhere else. Let's replace it. Signed-off-by: Stefan Tatschner --- Documentation/d

Re: [PATCH] doc: convert printk-formats.txt to rst

2017-12-07 Thread Kees Cook
On Thu, Dec 7, 2017 at 3:44 PM, Tobin C. Harding wrote: > Cheers Kees. FTR, changes to implement are: > > - Fix the capitalization of 'kernel'. I don't really have an opinion about which way is right. I personally don't capitalize it unless I speak about it as a single thing "The Linux Kernel".

Re: [PATCH] doc: convert printk-formats.txt to rst

2017-12-07 Thread Tobin C. Harding
On Thu, Dec 07, 2017 at 04:19:56PM -0800, Kees Cook wrote: > On Thu, Dec 7, 2017 at 3:44 PM, Tobin C. Harding wrote: > > Cheers Kees. FTR, changes to implement are: > > > > - Fix the capitalization of 'kernel'. > > I don't really have an opinion about which way is right. I personally > don't cap

Re: [PATCH 0/2] acpi, x86: Add SPCR table support

2017-12-07 Thread Ingo Molnar
* Prarit Bhargava wrote: > The SPCR (Serial Port Console Redirection) Table provides information > about the configuration of serial port. This information can be used > to configure the early console. s/about the configuration of serial port /about the configuration of the serial port > SPC