Re: [PATCH v2 3/4] Documentation/ABI: mark /sys/kernel/fadump_* sysfs files deprecated

2019-10-21 Thread Hari Bathini
On 18/10/19 6:35 PM, Sourabh Jain wrote: > The /sys/kernel/fadump_* sysfs files are replicated under [...] > +Note: The following FADump sysfs files are deprecated. > + > +Deprecated Alternative > + > ---

Re: [PATCH] hwmon: (ina3221) Add summation feature support

2019-10-21 Thread Nicolin Chen
On Sun, Oct 20, 2019 at 09:36:28AM -0700, Guenter Roeck wrote: > On Wed, Oct 16, 2019 at 04:57:02PM -0700, Nicolin Chen wrote: > > This patch implements the summation feature of INA3221, mainly the > > SCC (enabling) and SF (warning flag) bits of MASK_ENABLE register, > > INA3221_SHUNT_SUM (summati

Re: [PATCH] docs: block: Remove blk_init_queue related description

2019-10-21 Thread Shaokun Zhang
Hi Jonathan, On 2019/10/18 23:39, Jonathan Corbet wrote: > On Mon, 14 Oct 2019 21:50:02 +0800 > Shaokun Zhang wrote: > >> blk_init_queue has been removed since commit >> ("block: remove dead elevator code"), Let's cleanup the description >> in the biodoc.rst document. >> >> Cc: Jonathan Corbet

[PATCH bpf v3] xsk: improve documentation for AF_XDP

2019-10-21 Thread Magnus Karlsson
Added sections on all the bind flags, libbpf, all the setsockopts and all the getsockopts. Also updated the document to reflect the latest features and to correct some spelling errors. v1 -> v2: * Updated XDP program with latest BTF map format * Added one more FAQ entry * Some minor edits and corr

Re: [PATCH v3 2/3] riscv: Add KASAN support

2019-10-21 Thread Greentime Hu
Nick Hu 於 2019年10月8日 週二 下午2:17寫道: > > This patch ports the feature Kernel Address SANitizer (KASAN). > > Note: The start address of shadow memory is at the beginning of kernel > space, which is 2^64 - (2^39 / 2) in SV39. The size of the kernel space is > 2^38 bytes so the size of shadow memory sho

[PATCH v5 0/6] Initialise thermal framework and cpufreq earlier during boot

2019-10-21 Thread Amit Kucheria
Changes since v4: - Collect Acks - Pick the US spelling for 'initialis^Hze' consistently. Changes since v3: - Init schedutil governor earlier too - Simplified changes to thermal_init() error path - Collects Acks Changes since v2: - Missed one patch when posting v2. Respinning. Changes since v1:

[PATCH v5 1/6] thermal: Remove netlink support

2019-10-21 Thread Amit Kucheria
There are no users of netlink messages for thermal inside the kernel. Remove the code and adjust the documentation. Signed-off-by: Amit Kucheria Acked-by: Viresh Kumar --- .../driver-api/thermal/sysfs-api.rst | 26 ++--- drivers/thermal/thermal_core.c| 101 +---

Re: [PATCH v2 1/8] kcsan: Add Kernel Concurrency Sanitizer infrastructure

2019-10-21 Thread Alexander Potapenko
On Thu, Oct 17, 2019 at 4:13 PM Marco Elver wrote: > > Kernel Concurrency Sanitizer (KCSAN) is a dynamic data-race detector for > kernel space. KCSAN is a sampling watchpoint-based data-race detector. > See the included Documentation/dev-tools/kcsan.rst for more details. > > This patch adds basic

Re: [PATCH v6 01/10] KVM: arm64: Document PV-time interface

2019-10-21 Thread Steven Price
On 18/10/2019 18:10, Mark Rutland wrote: > On Tue, Oct 15, 2019 at 06:56:51PM +0100, Mark Rutland wrote: [...] >>> +PV_TIME_ST >>> += == >>> +Function ID: (uint32)0xC521 >>> +Return value: (int64) IPA of the stolen time data structure for >>

Re: [PATCH v6 01/10] KVM: arm64: Document PV-time interface

2019-10-21 Thread Mark Rutland
On Mon, Oct 21, 2019 at 02:40:31PM +0100, Steven Price wrote: > On 18/10/2019 18:10, Mark Rutland wrote: > > On Tue, Oct 15, 2019 at 06:56:51PM +0100, Mark Rutland wrote: > [...] > >>> +PV_TIME_ST > >>> += == > >>> +Function ID: (uint32)0xC521 > >>>

Re: [PATCH v3 0/8] drivers: add new variants of devm_platform_ioremap_resource()

2019-10-21 Thread Bartosz Golaszewski
niedz., 6 paź 2019 o 07:39 Bartosz Golaszewski napisał(a): > > From: Bartosz Golaszewski > > The new devm_platform_ioremap_resource() helper has now been widely > adopted and used in many drivers. Users of the write-combined ioremap() > variants could benefit from the same code shrinkage. This se

[PATCH] Documentation: debugfs: Document debugfs helper for unsigned long values

2019-10-21 Thread Geert Uytterhoeven
When debugfs_create_ulong() was added, it was not documented. Fixes: c23fe83138ed7b11 ("debugfs: Add debugfs_create_ulong()") Signed-off-by: Geert Uytterhoeven --- Documentation/filesystems/debugfs.txt | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Documentation/f

Re: [PATCH v2 2/8] objtool, kcsan: Add KCSAN runtime functions to whitelist

2019-10-21 Thread Dmitry Vyukov
On Thu, Oct 17, 2019 at 4:13 PM Marco Elver wrote: > > This patch adds KCSAN runtime functions to the objtool whitelist. > > Signed-off-by: Marco Elver > --- > tools/objtool/check.c | 17 + > 1 file changed, 17 insertions(+) > > diff --git a/tools/objtool/check.c b/tools/objtool/

[PATCH v3 2/2] dt-bindings: hwmon: Add ltc2947 documentation

2019-10-21 Thread Nuno Sá
Document the LTC2947 device devicetree bindings. Signed-off-by: Nuno Sá --- Changes in v2: * Add license identifier; * Fix the uint32-array properties; * Set maximum at the same indent as allOf in adi,accumulation-deadband-microamp; * Set enum at the same indent as allOf in adi,gpio-out-pol;

[PATCH v3 1/2] hwmon: Add support for ltc2947

2019-10-21 Thread Nuno Sá
The ltc2947 is a high precision power and energy monitor with an internal sense resistor supporting up to +/- 30A. Three internal no Latency ADCs ensure accurate measurement of voltage and current, while high-bandwidth analog multiplication of voltage and current provides accurate power measurement

Re: [PATCH v2 2/8] objtool, kcsan: Add KCSAN runtime functions to whitelist

2019-10-21 Thread Marco Elver
On Mon, 21 Oct 2019 at 17:15, Dmitry Vyukov wrote: > > On Thu, Oct 17, 2019 at 4:13 PM Marco Elver wrote: > > > > This patch adds KCSAN runtime functions to the objtool whitelist. > > > > Signed-off-by: Marco Elver > > --- > > tools/objtool/check.c | 17 + > > 1 file changed, 17

Re: [PATCH v3 0/8] drivers: add new variants of devm_platform_ioremap_resource()

2019-10-21 Thread Arnd Bergmann
On Mon, Oct 21, 2019 at 5:04 PM Bartosz Golaszewski wrote: > niedz., 6 paź 2019 o 07:39 Bartosz Golaszewski napisał(a): > > From: Bartosz Golaszewski > > Bartosz Golaszewski (8): > > Documentation: devres: add missing entry for > > devm_platform_ioremap_resource() > > lib: devres: prepar

Re: [PATCH v2 1/8] kcsan: Add Kernel Concurrency Sanitizer infrastructure

2019-10-21 Thread Marco Elver
On Mon, 21 Oct 2019 at 15:37, Alexander Potapenko wrote: > > On Thu, Oct 17, 2019 at 4:13 PM Marco Elver wrote: > > > > Kernel Concurrency Sanitizer (KCSAN) is a dynamic data-race detector for > > kernel space. KCSAN is a sampling watchpoint-based data-race detector. > > See the included Document

Re: [PATCH v3 0/8] drivers: add new variants of devm_platform_ioremap_resource()

2019-10-21 Thread Bartosz Golaszewski
pon., 21 paź 2019 o 17:53 Arnd Bergmann napisał(a): > > On Mon, Oct 21, 2019 at 5:04 PM Bartosz Golaszewski wrote: > > niedz., 6 paź 2019 o 07:39 Bartosz Golaszewski napisał(a): > > > From: Bartosz Golaszewski > > > Bartosz Golaszewski (8): > > > Documentation: devres: add missing entry for >

Re: [PATCH 12/12] infiniband: add a Documentation driver-api chapter for Infiniband

2019-10-21 Thread Jason Gunthorpe
Randy, What do you want to do with this series? Is this error below related needing respin, or just noise? Thanks, Jason On Thu, Oct 10, 2019 at 11:45:28PM +0800, kbuild test robot wrote: > Hi, > > Thank you for the patch! Perhaps something to improve: > > [auto build test WARNING on rdma/for-

Re: [PATCH] kernel-doc: trivial improvement for warning message

2019-10-21 Thread Matthew Wilcox
On Sun, Oct 20, 2019 at 09:23:23PM +0800, Changbin Du wrote: > The message "Function parameter or member ..." looks weird. > > Signed-off-by: Changbin Du > --- > scripts/kernel-doc | 9 +++-- > 1 file changed, 7 insertions(+), 2 deletions(-) > > diff --git a/scripts/kernel-doc b/scripts/ker

sysfs.txt: Checking the documentation status for the directory layout

2019-10-21 Thread Markus Elfring
Hello, I have taken another look also at this text file. https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/tree/Documentation/filesystems/sysfs.txt?id=a6fcdcd94927a1b24dea6a9951ffa7c64545ecfb#n276 The following information is provided at the moment. … Top Level Directory Layout

Re: [PATCH v3 0/8] drivers: add new variants of devm_platform_ioremap_resource()

2019-10-21 Thread Arnd Bergmann
On Mon, Oct 21, 2019 at 6:29 PM Bartosz Golaszewski wrote: > pon., 21 paź 2019 o 17:53 Arnd Bergmann napisał(a): > > On Mon, Oct 21, 2019 at 5:04 PM Bartosz Golaszewski wrote: > > > gentle ping for this. I noticed that some maintainers are complaining > > > about being spammed with patches conve

[PATCH] docs/core-api: memory-allocation: mention size helpers

2019-10-21 Thread Chris Packham
Mention struct_size(), array_size() and array3_size() in the same place as kmalloc() and friends. Signed-off-by: Chris Packham --- Documentation/core-api/memory-allocation.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/core-api/memory-allocation.rst b/D

Re: [PATCH 12/12] infiniband: add a Documentation driver-api chapter for Infiniband

2019-10-21 Thread Randy Dunlap
On 10/21/19 10:07 AM, Jason Gunthorpe wrote: > Randy, > > What do you want to do with this series? Is this error below related > needing respin, or just noise? > > Thanks, > Jason Hi Jason, I certainly would like to see patches 1-11 merged since they do lots of cleanups/fixes that I prefer not

Re: [PATCH v3 1/3] kasan: Archs don't check memmove if not support it.

2019-10-21 Thread Nick Hu
On Thu, Oct 17, 2019 at 07:58:04PM -0700, Paul Walmsley wrote: > On Thu, 17 Oct 2019, Andrey Ryabinin wrote: > > > On 10/8/19 9:11 AM, Nick Hu wrote: > > > Skip the memmove checking for those archs who don't support it. > > > > The patch is fine but the changelog sounds misleading. We don't skip

Re: [PATCH] Documentation: debugfs: Document debugfs helper for unsigned long values

2019-10-21 Thread Viresh Kumar
On 21-10-19, 17:06, Geert Uytterhoeven wrote: > When debugfs_create_ulong() was added, it was not documented. > > Fixes: c23fe83138ed7b11 ("debugfs: Add debugfs_create_ulong()") > Signed-off-by: Geert Uytterhoeven > --- > Documentation/filesystems/debugfs.txt | 10 -- > 1 file changed, 8

Re: [PATCH v3 2/3] riscv: Add KASAN support

2019-10-21 Thread Nick Hu
On Mon, Oct 21, 2019 at 05:33:31PM +0800, Greentime Hu wrote: > Nick Hu 於 2019年10月8日 週二 下午2:17寫道: > > > > This patch ports the feature Kernel Address SANitizer (KASAN). > > > > Note: The start address of shadow memory is at the beginning of kernel > > space, which is 2^64 - (2^39 / 2) in SV39. The

Re: [RFC] ss: Checking selected network ports

2019-10-21 Thread Markus Elfring
> If you use netlink operations directly, you can have the kernel filter > on various criteria and only get the socket entries you are interested in. Do any developers care to take another look at current software design options? > This whole discussion has zero to do with what text format 'ss'