Re: [PATCH] Syntactic and factual errors in the API document

2016-03-31 Thread Eduardo Valentin
On Thu, Mar 31, 2016 at 12:43:22AM -0600, Jonathan Corbet wrote: > On Tue, 22 Mar 2016 12:37:25 + > Andy Champ wrote: > > > There are several places where the English in the document is syntactically > > invalid, or unclear. There are also one or two factual errors. > >

Re: [PATCH v6 2/5] module: preserve Elf information for livepatch modules

2016-03-31 Thread Rusty Russell
Jessica Yu writes: > For livepatch modules, copy Elf section, symbol, and string information > from the load_info struct in the module loader. Persist copies of the > original symbol table and string table. > > Livepatch manages its own relocation sections in order to reuse

Re: [PATCH v5 36/46] input: misc: max77693: switch to the atomic API

2016-03-31 Thread Boris Brezillon
On Thu, 31 Mar 2016 10:48:01 -0700 Dmitry Torokhov wrote: > Hi Boris, > > On Wed, Mar 30, 2016 at 10:03:59PM +0200, Boris Brezillon wrote: > > pwm_config/enable/disable() have been deprecated and should be replaced > > by pwm_apply_state(). > > > > Signed-off-by:

Re: [PATCH v5 32/46] pwm: deprecate pwm_config(), pwm_enable() and pwm_disable()

2016-03-31 Thread Boris Brezillon
Hi Dmitry, On Thu, 31 Mar 2016 10:38:58 -0700 Dmitry Torokhov wrote: > Hi Boris, > > On Wed, Mar 30, 2016 at 10:03:55PM +0200, Boris Brezillon wrote: > > Prefix those function as deprecated to encourage all existing users to > > switch to pwm_apply_state(). > > Why

[PATCHv2 6/7] ARM: socfpga: Enable Arria10 OCRAM ECC on startup

2016-03-31 Thread tthayer
From: Thor Thayer Enable ECC for Arria10 On-Chip RAM on machine startup. The ECC has to be enabled and memory initialized before data is stored in memory otherwise the ECC will fail on reads. Signed-off-by: Thor Thayer --- v2: Add

[PATCHv2 7/7] ARM: dts: Add Altera Arria10 OCRAM EDAC devicetree entry

2016-03-31 Thread tthayer
From: Thor Thayer Add the device tree entries needed to support the Altera On-Chip RAM EDAC on the Arria10 chip. Signed-off-by: Thor Thayer --- v2: No change --- arch/arm/boot/dts/socfpga_arria10.dtsi |5 + 1 file changed,

[PATCHv2 5/7] EDAC, altera: Addition of Arria10 OCRAM ECC

2016-03-31 Thread tthayer
From: Thor Thayer Addition of the Arria10 On-Chip RAM ECC handling. Addition of private data structure for Arria10 OCRAM ECC. Addition of a new file operations function and trigger function for Arria10 OCRAM and other peripheral memories. Signed-off-by: Thor

[PATCHv2 1/7] EDAC, altera: New file operations for Arria10 ECC modules

2016-03-31 Thread tthayer
From: Thor Thayer In preparation for the Arria10 peripheral ECCs, new file operations are used because the Arria10 IRQ trigger mechanism is different than Cyclone5/Arria5 and Arria10 L2 cache. Add new pointer for file operations function to ecc data structure and

[PATCHv2 3/7] EDAC, altera: Make OCRAM ECC dependency check generic

2016-03-31 Thread tthayer
From: Thor Thayer In preparation for the Arria10 peripheral ECCs, the OCRAM ECC dependency check was moved into the general ECC area since this same function can be used by other memories. Signed-off-by: Thor Thayer --- v2: No

[PATCHv2 0/7] Add Altera Arria10 OCRAM EDAC support

2016-03-31 Thread tthayer
From: Thor Thayer This series of patches adds the Arria10 OCRAM EDAC support Thor Thayer (7): EDAC, altera: New file operations for Arria10 ECC modules EDAC, altera: Add register offset for ECC Enable EDAC, altera: Make OCRAM ECC dependency check generic

Re: [PATCH v5 32/46] pwm: deprecate pwm_config(), pwm_enable() and pwm_disable()

2016-03-31 Thread Dmitry Torokhov
Hi Boris, On Wed, Mar 30, 2016 at 10:03:55PM +0200, Boris Brezillon wrote: > Prefix those function as deprecated to encourage all existing users to > switch to pwm_apply_state(). Why not keep at least some of them as wrappers where we do not need to chnage several parameters at once? It is much

[PATCH v3] mmc: Add CONFIG_MMC_SIMULATE_MAX_SPEED

2016-03-31 Thread Mark Salyzyn
When CONFIG_MMC_SIMULATE_MAX_SPEED is enabled, Expose max_read_speed, max_write_speed and cache_size default module parameters and sysfs controls to simulate a slow eMMC device. Default values are 0 (off), 0 (off) and 4 MB respectively. Signed-off-by: Mark Salyzyn ---

Re: [RESEND PATCH V4 1/4] stm class: provision for statically assigned masterIDs

2016-03-31 Thread Mathieu Poirier
On 31 March 2016 at 07:20, Alexander Shishkin wrote: > Mathieu Poirier writes: > >> On 21 March 2016 at 01:47, Alexander Shishkin >> wrote: >>> Chunyan Zhang writes:

Re: [RESEND PATCH V4 1/4] stm class: provision for statically assigned masterIDs

2016-03-31 Thread Alexander Shishkin
Mathieu Poirier writes: > On 21 March 2016 at 01:47, Alexander Shishkin > wrote: >> Chunyan Zhang writes: >> >>> From: Mathieu Poirier >>> >>> Some architecture like ARM

Re: [v9,3/4] tpm: Initialize TPM and get durations and timeouts

2016-03-31 Thread Stefan Berger
On 03/31/2016 04:24 AM, Jarkko Sakkinen wrote: On Tue, Mar 29, 2016 at 02:19:13PM -0400, Stefan Berger wrote: Add the retrieval of TPM 1.2 durations and timeouts. Since this requires the startup of the TPM, do this for TPM 1.2 and TPM 2. @@ -343,6 +362,55 @@ static const struct tpm_class_ops

[PATCH v2 2/5] Documentation: update Michael K. Johnson's work

2016-03-31 Thread Luis de Bethencourt
The URL for "Writing Linux Device Drivers" hasn't been available in some time. Updating the entry to Michael K. Johnson's "Linux Kernel Hackers' Guide" Signed-off-by: Luis de Bethencourt --- Hi, I agree with Jon that changing the URL to a different work of the same

Re: [PATCH 5/5] Documentation: update URL for Porting Linux 2.0 Drivers to 2.2

2016-03-31 Thread Luis de Bethencourt
On 31/03/16 07:52, Jonathan Corbet wrote: > On Sat, 19 Mar 2016 12:51:24 + > Luis de Bethencourt wrote: > >> - URL: http://www.linux-mag.com/1999-05/gear_01.html >> + URL: http://www.linux-mag.com/id/216/ > > So this URL doesn't appear to work for me..? >

Re: [PATCH] Syntactic and factual errors in the API document

2016-03-31 Thread Javi Merino
On Thu, Mar 31, 2016 at 08:32:26AM +, Champ, Andy wrote: > I thought that _was_ the current kernel (not the obsolete one our chip vendor > supports). > > Which one do you mean by current? (URL & commit ID would be great!) You can find it in the MAINTAINERS file. I think Jon refers to

Re: [PATCH] Syntactic and factual errors in the API document

2016-03-31 Thread Champ, Andy
I thought that _was_ the current kernel (not the obsolete one our chip vendor supports). Which one do you mean by current? (URL & commit ID would be great!) Andy From: Jonathan Corbet Sent: 31 March 2016 07:43 To: Champ, Andy Cc:

Re: [v9,3/4] tpm: Initialize TPM and get durations and timeouts

2016-03-31 Thread Jarkko Sakkinen
On Tue, Mar 29, 2016 at 02:19:13PM -0400, Stefan Berger wrote: > Add the retrieval of TPM 1.2 durations and timeouts. Since this requires > the startup of the TPM, do this for TPM 1.2 and TPM 2. > > Signed-off-by: Stefan Berger > CC: linux-ker...@vger.kernel.org > CC:

Re: [PATCH 0/9] serial: doc: Low Level Serial API Documentation Improvements

2016-03-31 Thread Geert Uytterhoeven
Hi Jon, On Thu, Mar 31, 2016 at 8:59 AM, Jonathan Corbet wrote: > On Mon, 14 Mar 2016 16:16:08 +0100 > Geert Uytterhoeven wrote: > >> This patch series contains improvements to the low level serial driver >> API documentation. > > Hearing no objections,

Re: [PATCH v5 26/46] pwm: sun4i: implement hardware readout

2016-03-31 Thread Alexandre Belloni
On 30/03/2016 at 22:03:49 +0200, Boris Brezillon wrote : > Implement ->get_state() instead of only initializing the polarity in > the probe function. > > This implementation also takes care of keeping the PWM clk enabled if at > least one of the PWM exported by the PWM chip is already enabled,

Re: [PATCH v5 05/46] pwm: introduce the pwm_args concept

2016-03-31 Thread Boris Brezillon
On Wed, 30 Mar 2016 14:55:10 -0700 Stephen Boyd wrote: > On 03/30, Boris Brezillon wrote: > > @@ -74,6 +74,23 @@ enum pwm_polarity { > > PWM_POLARITY_INVERSED, > > }; > > > > +/** > > + * struct pwm_args - PWM arguments > > + * @period: reference period > > + *

Re: [PATCH v5 10/46] leds: pwm: use pwm_get_args() where appropriate

2016-03-31 Thread Jacek Anaszewski
Hi Boris, On 03/30/2016 10:03 PM, Boris Brezillon wrote: The PWM framework has clarified the concept of reference PWM config (the platform dependent config retrieved from the DT or the PWM lookup table) and real PWM state. Use pwm_get_args() when the PWM user wants to retrieve this reference

Re: [PATCH v5 05/46] pwm: introduce the pwm_args concept

2016-03-31 Thread Boris Brezillon
On Wed, 30 Mar 2016 14:55:10 -0700 Stephen Boyd wrote: > On 03/30, Boris Brezillon wrote: > > @@ -74,6 +74,23 @@ enum pwm_polarity { > > PWM_POLARITY_INVERSED, > > }; > > > > +/** > > + * struct pwm_args - PWM arguments > > + * @period: reference period > > + *

Re: [PATCH v5 08/46] hwmon: pwm-fan: use pwm_get_args() where appropriate

2016-03-31 Thread Boris Brezillon
Hi Guenter, On Wed, 30 Mar 2016 15:52:44 -0700 Guenter Roeck wrote: > On Wed, Mar 30, 2016 at 10:03:31PM +0200, Boris Brezillon wrote: > > The PWM framework has clarified the concept of reference PWM config > > (the platform dependent config retrieved from the DT or the PWM

Re: [PATCH 0/9] serial: doc: Low Level Serial API Documentation Improvements

2016-03-31 Thread Jonathan Corbet
On Mon, 14 Mar 2016 16:16:08 +0100 Geert Uytterhoeven wrote: > This patch series contains improvements to the low level serial driver > API documentation. Hearing no objections, I've applied the set to the docs tree, thanks. jon -- To unsubscribe from this list: send

Re: [RFC v2] Documentation: mmc: Add the introduction for mmc-utils

2016-03-31 Thread Ulf Hansson
On 31 March 2016 at 08:54, Jonathan Corbet wrote: > On Wed, 16 Mar 2016 20:02:49 +0800 > Baolin Wang wrote: > >> This patch introduces one mmc test tools called mmc-utils, which is >> convenient >> if someone wants to exercise and test MMC/SD devices from

Re: [RFC v2] Documentation: mmc: Add the introduction for mmc-utils

2016-03-31 Thread Jonathan Corbet
On Wed, 16 Mar 2016 20:02:49 +0800 Baolin Wang wrote: > This patch introduces one mmc test tools called mmc-utils, which is convenient > if someone wants to exercise and test MMC/SD devices from userspace. I've applied this to the docs tree, thanks. jon -- To

Re: [PATCH 2/5] Documentation: update URL for Michael K. Johnson's articles

2016-03-31 Thread Jonathan Corbet
On Sat, 19 Mar 2016 12:51:21 + Luis de Bethencourt wrote: > The URL for "Writing Linux Device Drivers" hasn't been available in some > time. Updating it to the URL of Michael K. Johnson's "Linux Kernel Hackers' > Guide" But that's a different work, I don't think it

Re: [PATCH 1/5] Documentation: add Linux Kernel Development book

2016-03-31 Thread Jonathan Corbet
On Sat, 19 Mar 2016 12:51:20 + Luis de Bethencourt wrote: > The Linux Kernel Development book by Robert Love has been recommended to me > by multiple kernel hackers. Worth having in the list of books in > kernel-docs.txt for newbies looking for good learning

Re: [PATCH] Documentation: update missing index files in block/00-INDEX

2016-03-31 Thread Jonathan Corbet
On Mon, 21 Mar 2016 19:42:19 +0800 Wei Fang wrote: > Update missing index files in block/00-INDEX. Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majord...@vger.kernel.org More

Re: [PATCH] Documentation/IRQ-domain.txt: Document irq_domain_create_{linear, tree}

2016-03-31 Thread Jonathan Corbet
On Sun, 27 Mar 2016 11:51:20 +0800 Jianyu Zhan wrote: > They have the same functionalities as irq_domain_add_{linear, tree}, > except fro accepting different first argument. > > Signed-off-by: Jianyu Zhan > --- > v1->v2: >Fix spelling error. Applied