Re: [RESEND PATCH] watchdog: ni7018_wdt: Add NIC7018 watchdog driver

2016-10-28 Thread Guenter Roeck
Hi, On Fri, Oct 28, 2016 at 03:51:07PM +0800, Hui Chun Ong wrote: > Add support for the watchdog timer on PXI Embedded Controller. > > Signed-off-by: Hui Chun Ong The problem with your patch are the non-standard attributes it introduces. +static WDT_ATTR(enable_reset,

Re: [PATCH v5 0/4] workqueue documentation reformatted

2016-10-28 Thread Jonathan Corbet
On Fri, 28 Oct 2016 10:14:07 +0200 Silvio Fricke wrote: > > - Don't forget to adjust MAINTAINERS for the new location for the > > workqueue doc. > > The MAINTAINERS are already patched on P4. Should this get an own patch? No, you just need to throw something at me

Re: [PATCH 04/12] edac: move documentation from edac_mc.c to edac_core.h

2016-10-28 Thread Mauro Carvalho Chehab
Em Fri, 28 Oct 2016 17:00:34 +0200 Borislav Petkov escreveu: > On Fri, Oct 28, 2016 at 12:50:06PM -0200, Mauro Carvalho Chehab wrote: > > I'll add a patch at the end of this series with such break, remove patch 3 > > and repost (either later today or after the KS/LPC week). >

Re: [PATCH 04/12] edac: move documentation from edac_mc.c to edac_core.h

2016-10-28 Thread Borislav Petkov
On Fri, Oct 28, 2016 at 01:43:08PM -0200, Mauro Carvalho Chehab wrote: > The prototypes and function definitions at edac_core.h will need to > be moved anyway at the split. Having everything together and then > breaking it seem an easier way to warrant that everything will be > moved to their

Re: [PATCH 3/3] doc-rst: add an ABI book

2016-10-28 Thread Greg Kroah-Hartman
On Fri, Oct 28, 2016 at 11:33:51AM -0200, Mauro Carvalho Chehab wrote: > Em Fri, 28 Oct 2016 08:49:12 -0400 > Greg Kroah-Hartman escreveu: > > > On Fri, Oct 28, 2016 at 08:31:57AM -0400, Greg Kroah-Hartman wrote: > > > On Fri, Oct 28, 2016 at 10:19:47AM -0200, Mauro

Re: ABI conversion to ReST - Was: Re: [PATCH 0/4] reST-directive kernel-cmd / include contentent from scripts

2016-10-28 Thread Jonathan Corbet
On Fri, 28 Oct 2016 11:07:15 +0200 Markus Heiser wrote: > My conclusion of this and other discussions on the linux-doc ML is; we > have the situation, where *old hats* want to stay with perl, since they > are productive with, while sphinx is in the python domain. And

Re: Was: Re: [PATCH 0/4] reST-directive kernel-cmd / include contentent from scripts

2016-10-28 Thread Jani Nikula
On Fri, 28 Oct 2016, Mauro Carvalho Chehab wrote: > Em Fri, 28 Oct 2016 11:07:15 +0200 > Markus Heiser escreveu: >> My conclusion of this and other discussions on the linux-doc ML is; we >> have the situation, where *old hats* want to stay with

[RESEND PATCH] watchdog: ni7018_wdt: Add NIC7018 watchdog driver

2016-10-28 Thread Hui Chun Ong
Add support for the watchdog timer on PXI Embedded Controller. Signed-off-by: Hui Chun Ong --- Documentation/watchdog/watchdog-parameters.txt | 5 + drivers/watchdog/Kconfig | 11 + drivers/watchdog/Makefile | 1 +

[PATCH v3 0/3] x86/vmware guest improvements

2016-10-28 Thread Alexey Makhalov
Thanks Thomas for the valuable comments. Changelog for the updated patchset: v1->v2 - Update pvinfo.name. v2->v3 - Address comments from Thomas G, * Created separate function: vmware_sched_clock_setup() (patch 3/3) * Updated commit descriptions for 1/3 and 3/3 Alexey Makhalov

[PATCH v3 2/3] x86/vmware: Add basic paravirt ops support

2016-10-28 Thread Alexey Makhalov
Add basic paravirt support: 1. set pv_info.name to "VMware hypervisor" to have proper boot log message Booting paravirtualized kernel on VMware hypervisor instead of "... on bare hardware" 2. set pv_cpu_ops.io_delay() to empty function - paravirt_nop() to avoid vm-exits on IO

[PATCH v3 1/3] x86/vmware: Use tsc_khz value for calibrate_cpu()

2016-10-28 Thread Alexey Makhalov
Commit aa297292d708 ("x86/tsc: Enumerate SKL cpu_khz and tsc_khz via CPUID") separated the calibration mechanisms for cpu_khz and tsc_khz. Since the vmware hypervisor provides a constant frequency TSC to the guest, this change can lead to divergence between the tsc and the cpu frequency after

Re: ABI conversion to ReST - Was: Re: [PATCH 0/4] reST-directive kernel-cmd / include contentent from scripts

2016-10-28 Thread Greg Kroah-Hartman
On Thu, Oct 27, 2016 at 10:34:05PM -0200, Mauro Carvalho Chehab wrote: > As defined at Documentation/ABI/README, this is actually a database > with those fields: > > What, Date, KernelVersion, Contact, Description and Users. > > An user-face documentation would probably require only a few of

[PATCH v5 4/4] Documentation/workqueue.txt: convert to ReST markup

2016-10-28 Thread Silvio Fricke
... and move to Documentation/core-api folder. Signed-off-by: Silvio Fricke --- Documentation/core-api/index.rst | 2 +- Documentation/core-api/workqueue.rst | 394 - Documentation/workqueue.txt | 388

[PATCH v5 2/4] workqueue: kerneldocify workqueue_attrs

2016-10-28 Thread Silvio Fricke
Only formating changes. Signed-off-by: Silvio Fricke --- include/linux/workqueue.h | 35 --- 1 file changed, 24 insertions(+), 11 deletions(-) diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h index fc6e221..d4f16cf

[PATCH v5 0/4] workqueue documentation reformatted

2016-10-28 Thread Silvio Fricke
Hi Jon, > - I can't get it to apply; what kernel did you do this set against? > Can I get it done against docs-next, by any chance? I had it on origins/master. Now rebased to your next branch. > - Part 2 (the workqueue.h changes) are probably best routed through > Tejun's tree. They are

Re: [RFC PATCH] parse-headers.pl: add documentation for this script

2016-10-28 Thread Markus Heiser
Am 28.10.2016 um 10:45 schrieb Mauro Carvalho Chehab : > Provide a man page for parse-headers.pl, describing > how to use it. Our posts have been overlapping, but It seems as we have the same thoughts ;-) -- Markus -- -- To unsubscribe from this list: send the line

Re: ABI conversion to ReST - Was: Re: [PATCH 0/4] reST-directive kernel-cmd / include contentent from scripts

2016-10-28 Thread Mauro Carvalho Chehab
Em Fri, 28 Oct 2016 02:54:33 -0400 Greg Kroah-Hartman escreveu: > On Thu, Oct 27, 2016 at 10:34:05PM -0200, Mauro Carvalho Chehab wrote: > > As defined at Documentation/ABI/README, this is actually a database > > with those fields: > > > > What, Date, KernelVersion,

[PATCH v5 1/4] kernel-doc: better parsing of named variable arguments

2016-10-28 Thread Silvio Fricke
Without this patch we get warnings for named variable arguments. warning: No description found for parameter '...' warning: Excess function parameter 'args' description in 'alloc_ordered_workqueue' Signed-off-by: Silvio Fricke Reviewed-by: Jani Nikula

Re: ABI conversion to ReST - Was: Re: [PATCH 0/4] reST-directive kernel-cmd / include contentent from scripts

2016-10-28 Thread Markus Heiser
Am 28.10.2016 um 08:54 schrieb Greg Kroah-Hartman : > On Thu, Oct 27, 2016 at 10:34:05PM -0200, Mauro Carvalho Chehab wrote: >> As defined at Documentation/ABI/README, this is actually a database >> with those fields: >> >> What, Date, KernelVersion, Contact,

[PATCH v5 3/4] Documentation/00-index: update for new core-api folder

2016-10-28 Thread Silvio Fricke
Signed-off-by: Silvio Fricke --- Documentation/00-INDEX | 4 +++- Documentation/core-api/conf.py | 5 + Documentation/core-api/index.rst | 15 +++ Documentation/index.rst | 1 + 4 files changed, 24 insertions(+), 1 deletion(-)

patch "vgacon: remove prehistoric macros" added to tty-next

2016-10-28 Thread gregkh
This is a note to let you know that I've just added the patch titled vgacon: remove prehistoric macros to my tty git tree which can be found at git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty.git in the tty-next branch. The patch will show up in the next release of the

[RFC PATCH] parse-headers.pl: add documentation for this script

2016-10-28 Thread Mauro Carvalho Chehab
Provide a man page for parse-headers.pl, describing how to use it. The documentation on ReST format was generated via pod2rst: http://search.cpan.org/~dowens/Pod-POM-View-Restructured-0.02/bin/pod2rst Signed-off-by: Mauro Carvalho Chehab --- As requested,

Re: [PATCH 03/12] edac: edac_mc.c: Use an error code instead of -1

2016-10-28 Thread Borislav Petkov
On Wed, Oct 26, 2016 at 05:58:53PM -0200, Mauro Carvalho Chehab wrote: > If a csrow is not found by edac_mc_find_csrow_by_page(), it > currently returns -1, to mean that the page is invalid. Use > the proper errorcode macro for that (-EINVAL). > > Signed-off-by: Mauro Carvalho Chehab

Re: [PATCH 3/3] doc-rst: add an ABI book

2016-10-28 Thread Mauro Carvalho Chehab
Em Fri, 28 Oct 2016 08:49:12 -0400 Greg Kroah-Hartman escreveu: > On Fri, Oct 28, 2016 at 08:31:57AM -0400, Greg Kroah-Hartman wrote: > > On Fri, Oct 28, 2016 at 10:19:47AM -0200, Mauro Carvalho Chehab wrote: > > > Use a script to parse the Documenation/ABI

Re: Was: Re: [PATCH 0/4] reST-directive kernel-cmd / include contentent from scripts

2016-10-28 Thread Mauro Carvalho Chehab
Em Fri, 28 Oct 2016 16:12:25 +0300 Jani Nikula escreveu: > On Fri, 28 Oct 2016, Mauro Carvalho Chehab wrote: > > Em Fri, 28 Oct 2016 11:07:15 +0200 > > Markus Heiser escreveu: > >> My conclusion of this and other

Re: ABI conversion to ReST - Was: Re: [PATCH 0/4] reST-directive kernel-cmd / include contentent from scripts

2016-10-28 Thread Greg Kroah-Hartman
On Fri, Oct 28, 2016 at 08:14:21AM -0200, Mauro Carvalho Chehab wrote: > Em Fri, 28 Oct 2016 02:54:33 -0400 > Greg Kroah-Hartman escreveu: > > > On Thu, Oct 27, 2016 at 10:34:05PM -0200, Mauro Carvalho Chehab wrote: > > > As defined at Documentation/ABI/README, this

Re: [PATCH 04/12] edac: move documentation from edac_mc.c to edac_core.h

2016-10-28 Thread Borislav Petkov
On Fri, Oct 28, 2016 at 12:29:08PM -0200, Mauro Carvalho Chehab wrote: > drivers/edac/edac_device.h > drivers/edac/edac_device_sysfs.h > drivers/edac/edac_mc.h > drivers/edac/edac_mc_sysfs.h > drivers/edac/edac_pci.h > drivers/edac/edac_pci_sysfs.h >

Re: [PATCH 04/12] edac: move documentation from edac_mc.c to edac_core.h

2016-10-28 Thread Mauro Carvalho Chehab
Em Fri, 28 Oct 2016 16:40:06 +0200 Borislav Petkov escreveu: > On Fri, Oct 28, 2016 at 12:29:08PM -0200, Mauro Carvalho Chehab wrote: > > drivers/edac/edac_device.h > > drivers/edac/edac_device_sysfs.h > > drivers/edac/edac_mc.h > > drivers/edac/edac_mc_sysfs.h >

Re: ABI conversion to ReST - Was: Re: [PATCH 0/4] reST-directive kernel-cmd / include contentent from scripts

2016-10-28 Thread Markus Heiser
Am 28.10.2016 um 14:55 schrieb Jonathan Corbet : > On Fri, 28 Oct 2016 11:07:15 +0200 > Markus Heiser wrote: > >> My conclusion of this and other discussions on the linux-doc ML is; we >> have the situation, where *old hats* want to stay with perl,

Re: [PATCH 03/12] edac: edac_mc.c: Use an error code instead of -1

2016-10-28 Thread Borislav Petkov
On Fri, Oct 28, 2016 at 12:12:16PM -0200, Mauro Carvalho Chehab wrote: > It is non-standard to return -1 instead of an error code. This Read what I said: -1 is fed into edac_mc_handle_error() already for other layers. It is *the* standard value to denote not-available in the EDAC core. > is the

Re: [PATCH v5 2/4] workqueue: kerneldocify workqueue_attrs

2016-10-28 Thread Tejun Heo
On Fri, Oct 28, 2016 at 10:14:09AM +0200, Silvio Fricke wrote: > Only formating changes. > > Signed-off-by: Silvio Fricke Acked-by: Tejun Heo Please feel free to route with other doc updates. Thanks. -- tejun -- To unsubscribe from this list: send

Re: [PATCH 03/12] edac: edac_mc.c: Use an error code instead of -1

2016-10-28 Thread Mauro Carvalho Chehab
Em Fri, 28 Oct 2016 15:50:58 +0200 Borislav Petkov escreveu: > On Wed, Oct 26, 2016 at 05:58:53PM -0200, Mauro Carvalho Chehab wrote: > > If a csrow is not found by edac_mc_find_csrow_by_page(), it > > currently returns -1, to mean that the page is invalid. Use > > the proper

Re: [PATCH 03/12] edac: edac_mc.c: Use an error code instead of -1

2016-10-28 Thread Mauro Carvalho Chehab
Em Fri, 28 Oct 2016 16:19:02 +0200 Borislav Petkov escreveu: > On Fri, Oct 28, 2016 at 12:12:16PM -0200, Mauro Carvalho Chehab wrote: > > It is non-standard to return -1 instead of an error code. This > > Read what I said: -1 is fed into edac_mc_handle_error() already for >

Re: [PATCH 04/12] edac: move documentation from edac_mc.c to edac_core.h

2016-10-28 Thread Borislav Petkov
On Wed, Oct 26, 2016 at 05:58:54PM -0200, Mauro Carvalho Chehab wrote: > Several functions are documented at edac_mc.c. > > As we'll be including edac_core.h at drivers-api book, move > those, in order for the kernel-doc markups be part of the API > documentation book. So what is the story now?

Re: [PATCH 04/12] edac: move documentation from edac_mc.c to edac_core.h

2016-10-28 Thread Mauro Carvalho Chehab
Em Fri, 28 Oct 2016 16:20:24 +0200 Borislav Petkov escreveu: > On Wed, Oct 26, 2016 at 05:58:54PM -0200, Mauro Carvalho Chehab wrote: > > Several functions are documented at edac_mc.c. > > > > As we'll be including edac_core.h at drivers-api book, move > > those, in order for

Re: [PATCH 3/3] doc-rst: add an ABI book

2016-10-28 Thread Greg Kroah-Hartman
On Fri, Oct 28, 2016 at 10:19:47AM -0200, Mauro Carvalho Chehab wrote: > Use a script to parse the Documenation/ABI directory and output > it at the admin-guide. > > Signed-off-by: Mauro Carvalho Chehab > --- > Documentation/admin-guide/abi.rst | 5 + >

Re: ILP32 for ARM64 - testing with lmbench

2016-10-28 Thread Yury Norov
[Add Steve Ellcey, thanks for testing on ThunderX] Lmbench-3.0-a9 testing is performed on ThunderX machine to check that ILP32 series does not add performance regressions for LP64. Test summary is in the table below. Our measurements doesn't show significant performance regression of LP64 if

Re: [PATCH 3/3] doc-rst: add an ABI book

2016-10-28 Thread Greg Kroah-Hartman
On Fri, Oct 28, 2016 at 08:31:57AM -0400, Greg Kroah-Hartman wrote: > On Fri, Oct 28, 2016 at 10:19:47AM -0200, Mauro Carvalho Chehab wrote: > > Use a script to parse the Documenation/ABI directory and output > > it at the admin-guide. > > > > Signed-off-by: Mauro Carvalho Chehab

[PATCH 3/3] doc-rst: add an ABI book

2016-10-28 Thread Mauro Carvalho Chehab
Use a script to parse the Documenation/ABI directory and output it at the admin-guide. Signed-off-by: Mauro Carvalho Chehab --- Documentation/admin-guide/abi.rst | 5 + Documentation/admin-guide/index.rst | 1 + Documentation/sphinx/abi_book.pl| 208

[PATCH 2/3] ABI: sysfs-driver-hid: the "What" field doesn't parse fine

2016-10-28 Thread Mauro Carvalho Chehab
The What: field on this ABI description use a different syntax than expected, causing it to not be properly parsed by script. Fix it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/ABI/testing/sysfs-driver-hid | 12 ++-- 1 file changed, 6

[PATCH 1/3] ABI: fix some syntax issues at the ABI database

2016-10-28 Thread Mauro Carvalho Chehab
On those three files, the ABI representation described at README are violated. - at sysfs-bus-iio-proximity-as3935: a ':' character is missing after "What" - at sysfs-class-devfreq: there's a typo at Description - at sysfs-class-cxl, it is using the ":" character at a

Re: ABI conversion to ReST - Was: Re: [PATCH 0/4] reST-directive kernel-cmd / include contentent from scripts

2016-10-28 Thread Mauro Carvalho Chehab
Em Fri, 28 Oct 2016 06:28:23 -0400 Greg Kroah-Hartman escreveu: > On Fri, Oct 28, 2016 at 08:14:21AM -0200, Mauro Carvalho Chehab wrote: > > Em Fri, 28 Oct 2016 02:54:33 -0400 > > Greg Kroah-Hartman escreveu: > > > > > On Thu, Oct 27,

Re: [PATCH 2/3] ABI: sysfs-driver-hid: the "What" field doesn't parse fine

2016-10-28 Thread Greg Kroah-Hartman
On Fri, Oct 28, 2016 at 10:19:46AM -0200, Mauro Carvalho Chehab wrote: > The What: field on this ABI description use a different > syntax than expected, causing it to not be properly parsed > by script. > > Fix it. > > Signed-off-by: Mauro Carvalho Chehab Acked-by:

Re: [PATCH 1/3] ABI: fix some syntax issues at the ABI database

2016-10-28 Thread Greg Kroah-Hartman
On Fri, Oct 28, 2016 at 10:19:45AM -0200, Mauro Carvalho Chehab wrote: > On those three files, the ABI representation described at > README are violated. > > - at sysfs-bus-iio-proximity-as3935: > a ':' character is missing after "What" > > - at sysfs-class-devfreq: > there's a typo

Re: ABI conversion to ReST - Was: Re: [PATCH 0/4] reST-directive kernel-cmd / include contentent from scripts

2016-10-28 Thread Greg Kroah-Hartman
On Fri, Oct 28, 2016 at 10:20:57AM -0200, Mauro Carvalho Chehab wrote: > Em Fri, 28 Oct 2016 06:28:23 -0400 > Greg Kroah-Hartman escreveu: > > > On Fri, Oct 28, 2016 at 08:14:21AM -0200, Mauro Carvalho Chehab wrote: > > > Em Fri, 28 Oct 2016 02:54:33 -0400 > > > Greg

Was: Re: [PATCH 0/4] reST-directive kernel-cmd / include contentent from scripts

2016-10-28 Thread Mauro Carvalho Chehab
Em Fri, 28 Oct 2016 11:07:15 +0200 Markus Heiser escreveu: > Am 28.10.2016 um 08:54 schrieb Greg Kroah-Hartman > : > > That sounds like a good plan to me, and patches to fix up typos to keep > > things being able to be parsed properly

Re: [PATCH 3/3] doc-rst: add an ABI book

2016-10-28 Thread Mauro Carvalho Chehab
Em Fri, 28 Oct 2016 08:31:57 -0400 Greg Kroah-Hartman escreveu: > On Fri, Oct 28, 2016 at 10:19:47AM -0200, Mauro Carvalho Chehab wrote: > > Use a script to parse the Documenation/ABI directory and output > > it at the admin-guide. > > > > Signed-off-by: Mauro