[PATCH] rtc: sysfs: move sysfs & ioctl interface to Documentation/ABI

2018-01-01 Thread Aishwarya Pant
Right now, the decription of the rtc and sysfs interfaces is in Documentation/rtc.txt. Since these are a part of the ABI, they should be in Documentation/ABI along with the rest. Signed-off-by: Aishwarya Pant --- Let me know if the contact information should be different. I picked up the module a

Re: [PATCH] rtc: sysfs: move sysfs & ioctl interface to Documentation/ABI

2018-01-01 Thread Julia Lawall
On Mon, 1 Jan 2018, Aishwarya Pant wrote: > Right now, the decription of the rtc and sysfs interfaces is in > Documentation/rtc.txt. Since these are a part of the ABI, they should be > in Documentation/ABI along with the rest. > > Signed-off-by: Aishwarya Pant > --- > Let me know if the contact

Re: [PATCH] rtc: sysfs: move sysfs & ioctl interface to Documentation/ABI

2018-01-01 Thread Alexandre Belloni
Hi, Well, I had that patch: https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/commit/?h=rtc-ranges&id=79729c30854986faf4d26b0303dba220f4ef89de part of a series I didn't send yet (it is still WIP and I just pushed it). Can you rebase on top of that? The RO/RW annotation would be a

[PATCH 0/2] Documentation: rtc: move ioctl to ABI

2018-01-01 Thread Aishwarya Pant
Two documentation changes in rtc: 1) Minor change to add file permissions to sysfs interface 2) Move ioctl interface to Documentation/ABI Aishwarya Pant (2): Documentation: rtc: add sysfs file permissions Documentation: rtc: move iotcl interface documentation to ABI Documentation/ABI/testing

[PATCH 1/2] Documentation: rtc: add sysfs file permissions

2018-01-01 Thread Aishwarya Pant
Annotate the sysfs interface of rtc with file specific permissions (RO/RW). Signed-off-by: Aishwarya Pant --- Documentation/ABI/testing/sysfs-class-rtc | 44 --- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-class-rtc

[PATCH 2/2] Documentation: rtc: move iotcl interface documentation to ABI

2018-01-01 Thread Aishwarya Pant
The ioctl interface should be in Documentation/ABI along with the rest of the interfaces. Signed-off-by: Aishwarya Pant --- Documentation/ABI/testing/rtc-cdev | 42 Documentation/rtc.txt | 49 ++ 2 files changed, 4

Re: [PATCH] doc: md: Fix a file name to md-fault.c in fault-injection.txt

2018-01-01 Thread Jonathan Corbet
On Sat, 23 Dec 2017 01:41:21 +0900 Masanari Iida wrote: > drivers/md/faulty.c has been renamed to md-faulty.c after > following commit merged int to the main line. > > 935fe0983e09f4f7331ebf5ea4ae2124f6e9f9e8 . > > But the file name in fault-injection.txt has not been changed. > Now the actua

Re: scripts/kernel-doc: no warning or error on lots of missing function parameters

2018-01-01 Thread Jonathan Corbet
On Sat, 30 Dec 2017 16:54:30 -0800 Randy Dunlap wrote: > > Please check if the enclosed patches fix the issue. > > > > Regards, > > Mauro > > > > Yes, this seems to be working (I am just doing a quick look for now). > > Acked-and-Tested-by: Randy Dunlap I've applied this, thanks. jon --

Re: [PATCH v2] errseq: Add to documentation tree

2018-01-01 Thread Jonathan Corbet
On Fri, 22 Dec 2017 06:32:16 -0800 Matthew Wilcox wrote: > - Move errseq.rst into core-api > - Add errseq to the core-api index > - Promote the header to a more prominent header type, otherwise we get three >entries in the table of contents. > - Reformat the table to look nicer and be a l

[RFC PATCH 2/4] rtc: sysfs: Export the valid range supported by RTC hardware

2018-01-01 Thread Baolin Wang
We have introduced one interface to get the RTC range, so this patch exports the valid range supported by RTC hardware to userspace. Signed-off-by: Baolin Wang --- Documentation/rtc.txt |2 ++ drivers/rtc/rtc-sysfs.c | 30 ++ 2 files changed, 32 insertions(+)

[RFC PATCH 4/4] rtc: sc27xx: Add the get_range interface

2018-01-01 Thread Baolin Wang
Add the get_range interface for sc27xx RTC driver to tell the RTC core what is the valid range for RTC hardware device. Signed-off-by: Baolin Wang --- drivers/rtc/rtc-sc27xx.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/drivers/rtc/rtc-sc27xx.c b/drivers/rtc/rtc-sc27xx.c in

[RFC PATCH 3/4] rtc: Add one offset seconds to expand RTC range

2018-01-01 Thread Baolin Wang
>From our investigation for all RTC drivers, 1 driver will be expired before year 2017, 7 drivers will be expired before year 2038, 23 drivers will be expired before year 2069, 72 drivers will be expired before 2100 and 104 drivers will be expired before 2106. Especially for these early expired dri

[RFC PATCH 1/4] rtc: Introduce one interface to save the RTC hardware time range

2018-01-01 Thread Baolin Wang
In order to the setting time values are not beyond the limitation supported by RTC hardware, we introduce one interface to tell the hardware range to the RTC core, which are used to valid if the setting time values are in the RTC hardware range. Moreover we also need the RTC hardware range to expa

[PATCH] cpu_cooling: Remove static-power related documentation

2018-01-01 Thread Viresh Kumar
commit 84fe2cab4859 ("cpu_cooling: Drop static-power related stuff") removed support for static-power in kernel, but it missed reflecting the same in documentation. Remove the static power related documentation bits as well. Reported-by: Javi Merino Signed-off-by: Viresh Kumar --- Documentation

Re: [RFC PATCH 1/4] rtc: Introduce one interface to save the RTC hardware time range

2018-01-01 Thread Alexandre Belloni
Hi Baolin, Could you have a look at https://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux.git/commit/?h=rtc-ranges My approach has multiple advantages as it works for 64-bit counters and the range can be updated at runtime. On 02/01/2018 at 13:10:05 +0800, Baolin Wang wrote: > In order