[PATCH v3] doc: add maintainer book

2017-11-29 Thread Tobin C. Harding
There is currently very little documentation in the kernel on maintainer level tasks. In particular there are no documents on creating pull requests to submit to Linus. Quoting Greg Kroah-Hartman on LKML: Anyway, this actually came up at the kernel summit / maintainer meeting a few weeks

[PATCH] docs: Expand refcount_t documentation

2017-11-29 Thread Kees Cook
This updates basics.rst to include refcount_t so it can be referenced by other .rst files, fixes a kernel-doc typo in refcount.h so the struct will be documented, and enhances the markup of the refcount-vs-atomic doc. Signed-off-by: Kees Cook --- This builds on the "refcount-vs-atomic.rst" patch.

Re: [PATCH] refcount_t: documentation for memory ordering differences

2017-11-29 Thread Kees Cook
On Wed, Nov 29, 2017 at 4:36 AM, 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. > > Signed-off-by: Elena Reshetova Thanks for the improvements! I have

Re: [PATCH v5] HID: hid-multitouch: support fine-grain orientation reporting

2017-11-29 Thread Henrik Rydberg
On 10/12/2017 08:21 AM, Wei-Ning Huang wrote: From: Wei-Ning Huang The current hid-multitouch driver only allow the report of two orientations, vertical and horizontal. We use the Azimuth orientation usage 0x3F under the Digitizer usage page to report orientation if the device supports it. Cha

Re: [PATCH v5] HID: hid-multitouch: support fine-grain orientation reporting

2017-11-29 Thread Dmitry Torokhov
On Wed, Nov 29, 2017 at 11:33:58PM +0100, Henrik Rydberg wrote: > On 10/12/2017 08:21 AM, Wei-Ning Huang wrote: > > From: Wei-Ning Huang > > > > The current hid-multitouch driver only allow the report of two > > orientations, vertical and horizontal. We use the Azimuth orientation > > usage 0x3F

Re: [v6,4/4] pmbus (max31785): Add dual tachometer support

2017-11-29 Thread Guenter Roeck
On Mon, Nov 20, 2017 at 03:12:06PM +1030, Andrew Jeffery wrote: > The dual tachometer feature is implemented in hardware with a TACHSEL > input to indicate the rotor under measurement, and exposed on the device > by extending the READ_FAN_SPEED_1 word with two extra bytes*. The need > to read the n

Re: [v6,3/4] pmbus (core): Add virtual page config bit

2017-11-29 Thread Guenter Roeck
On Mon, Nov 20, 2017 at 03:12:05PM +1030, Andrew Jeffery wrote: > Some circumstances call for virtual pages, to expose multiple values > packed into an extended PMBus register in a manner non-compliant with > the PMBus standard. An example of this is the Maxim MAX31785 controller, > which extends t

Re: [v6,2/4] pmbus (max31785): Add fan control

2017-11-29 Thread Guenter Roeck
On Mon, Nov 20, 2017 at 03:12:04PM +1030, Andrew Jeffery wrote: > The implementation makes use of the new fan control virtual registers > exposed by the pmbus core. It mixes use of the default implementations > with some overrides via the read/write handlers to handle FAN_COMMAND_1 > on the MAX3178

Re: [v6,1/4] pmbus (core): Add fan control support

2017-11-29 Thread Guenter Roeck
On Mon, Nov 20, 2017 at 03:12:03PM +1030, Andrew Jeffery wrote: > Expose fanX_target, pwmX and pwmX_enable hwmon sysfs attributes. > > Fans in a PMBus device are driven by the configuration of two registers, > FAN_CONFIG_x_y and FAN_COMMAND_x: FAN_CONFIG_x_y dictates how the fan > and the tacho op

[PATCH 2/2 v2] Documentation: add UUID/GUID to kernel-api

2017-11-29 Thread Randy Dunlap
insertions(+), 17 deletions(-) v2: updated to apply cleanly. --- linux-next-20171129.orig/lib/uuid.c +++ linux-next-20171129/lib/uuid.c @@ -29,15 +29,14 @@ EXPORT_SYMBOL(uuid_null); const u8 guid_index[16] = {3,2,1,0,5,4,7,6,8,9,10,11,12,13,14,15}; const u8 uuid_index[16

[PATCH 1/2 v2] Documentation: add Sorting section to kernel-api

2017-11-29 Thread Randy Dunlap
From: Randy Dunlap Add sort() and list_sort() to the kernel API documentation in a new "Sorting" section. Signed-off-by: Randy Dunlap --- Documentation/core-api/kernel-api.rst |9 + 1 file changed, 9 insertions(+) v2: updated to apply cleanly. --- linux-next-201

Re: [PATCH] doc: linux-wpan: Fulfill the description of missed 802.15.4 APIs

2017-11-29 Thread Stefan Schmidt
Hello On 11/18/2017 04:55 PM, Jian-Hong Pan wrote: > There are more functions and operations which must be used or implemented > in each IEEE 802.15.4 device driver, but are not mentioned in the Device > drivers API section of Documentation/networking/ieee802154.txt. Therefore, > I want to fulfi

Re: [PATCH 1/2] watchdog: introduce watchdog.open_timeout commandline parameter

2017-11-29 Thread Guenter Roeck
On Wed, Nov 29, 2017 at 11:56:57AM +0100, Rasmus Villemoes wrote: > On 2017-11-28 23:14, Guenter Roeck wrote: > > On Tue, Nov 28, 2017 at 11:35:49AM +0100, Rasmus Villemoes wrote: > >> > >> The unit is milliseconds rather than seconds because that covers more > >> use cases. For example, one can ef

Re: [PATCH] dmaengine: doc : Fix warning "Title underline too short" while make xmldocs

2017-11-29 Thread Vinod Koul
On Wed, Nov 29, 2017 at 12:16:56AM +0900, Masanari Iida wrote: > This patch fix following warning during 'make xmldocs' The patch title should not document why but should document what the patch does. Checkpatch warns about that. Perhpas this would make a better title: "fix short topic underline"

Re: [PATCH 1/2] watchdog: introduce watchdog.open_timeout commandline parameter

2017-11-29 Thread Rasmus Villemoes
On 2017-11-28 23:14, Guenter Roeck wrote: > On Tue, Nov 28, 2017 at 11:35:49AM +0100, Rasmus Villemoes wrote: >> >> The unit is milliseconds rather than seconds because that covers more >> use cases. For example, one can effectively disable the kernel handling >> by setting the open_timeout to 1 ms