[PATCH v1 2/3] perf-security: document collected perf_events/Perf data categories

2019-01-31 Thread Alexey Budankov
Document and categorize system and performance data into groups that can be captured by perf_events/Perf and explicitly indicate the group that can contain process sensitive data. Signed-off-by: Alexey Budankov --- Documentation/admin-guide/perf-security.rst | 32 +++-- 1 file

[PATCH v1 3/3] perf-security: document perf_events/Perf resource control

2019-01-31 Thread Alexey Budankov
Elaborate on possible perf_event/Perf privileged users groups and document steps about creating such groups. Signed-off-by: Alexey Budankov --- Documentation/admin-guide/perf-security.rst | 43 + 1 file changed, 43 insertions(+) diff --git a/Documentation/admin-guide/perf-

[PATCH v1 1/3] perf-security: document perf_events/Perf resource control

2019-01-31 Thread Alexey Budankov
Extend perf-security.rst file with perf_events/Perf resource control section describing RLIMIT_NOFILE and perf_event_mlock_kb settings for performance monitoring user processes. Signed-off-by: Alexey Budankov --- Documentation/admin-guide/perf-security.rst | 36 + 1 file ch

[PATCH v1 0/3] admin-guide: extend perf-security with resource control, data categories and privileged users

2019-01-31 Thread Alexey Budankov
The patch set extends the first version of perf-security.rst documentation file [1], [2], [3] with the following topics: 1) perf_events/Perf resource limits and control management that describes RLIMIT_NOFILE and perf_event_mlock_kb settings for processes conducting performance monitoring;

Re: DMA Engine Documentation: TX Descriptor and Submission

2019-01-31 Thread Vinod Koul
On 28-01-19, 09:47, Federico Vaga wrote: > Hi, > > I have a new question concerning documentation. > > https://www.kernel.org/doc/html/latest/driver-api/dmaengine/client.html > > >From this document it is not really clear, at least to me, if clients can > consider valid the `struct dma_async_tx

Re: docs tree

2019-01-31 Thread Jonathan Corbet
On Wed, 30 Jan 2019 21:16:21 -0500 "Tobin C. Harding" wrote: > Ouch, failing in public is fun. Thanks Randy That's how kernel development is done in the end...:) I'd be curious to know how you got the git3.lwn.net name in your remote, though, if by any chance you can remember. That shouldn't

[PATCH v2 2/3] hwmon: (lm85) Document the LM96000 as supported

2019-01-31 Thread Jeremy Gebben
It has been supported as a generic lm85 for quite some time. Signed-off-by: Jeremy Gebben --- Documentation/hwmon/lm85 | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/hwmon/lm85 b/Documentation/hwmon/lm85 index 7c49feaa7..9f3a945d1 100644 --- a/Documentatio

[PATCH v2 3/3] hwmon: (lm85) add support for LM96000 high frequencies

2019-01-31 Thread Jeremy Gebben
This chip expands the freqency field from 3 to 4 bits, to add more frequencies in the 22.5 to 30 kHz ranges. Signed-off-by: Jeremy Gebben --- Documentation/hwmon/lm85 | 3 +++ drivers/hwmon/lm85.c | 9 + 2 files changed, 12 insertions(+) diff --git a/Documentation/hwmon/lm85 b/Docum

Re: [PATCH 3/3] docs: Use underscore not hyphen in label

2019-01-31 Thread Tobin C. Harding
On Thu, Jan 31, 2019 at 11:27:57AM +0200, Mike Rapoport wrote: > On Thu, Jan 31, 2019 at 03:06:23PM +1100, Tobin C. Harding wrote: > > From: "Tobin C. Harding" > > > > sphinx emits warning > > > >WARNING: undefined label: memory-allocation ... > > Weird, for me it works fine. The genera

Re: [PATCH v7 0/3] clk: clkdev add managed lookup registrations

2019-01-31 Thread Stephen Boyd
Quoting Russell King - ARM Linux admin (2019-01-31 07:21:47) > On Thu, Jan 31, 2019 at 03:24:52PM +0200, Matti Vaittinen wrote: > > Hello All, > > > > On Fri, Dec 07, 2018 at 01:09:00PM +0200, Matti Vaittinen wrote: > > > Series adds managed clkdev lookup interfaces and cleans few drivers > > > >

[PATCH v6 22/27] x86/modules: Add option to start module section after kernel

2019-01-31 Thread Thomas Garnier
Add an option so the module section is just after the mapped kernel. It will ensure position independent modules are always at the right distance from the kernel and do not require mcmodule=large. It also optimize the available size for modules by getting rid of the empty space on kernel randomizat

Re: [PATCH v3] drm/TODO: Add drm_display_mode.hsync/vrefresh removal

2019-01-31 Thread Sean Paul
On Tue, Jan 29, 2019 at 02:26:29PM -0500, Sean Paul wrote: > From: Sean Paul > > Drivers shouldn't be using these values, add a TODO so someone removes > them. > > Changes in v2: > - Add drm_display_mode.vrefresh removal (Ville) > - Add Sam's R-b and bonus points > Changes in v3: > - Add hsync r

[RFC PATCH 3/3] sched/Documentation: Point out use of preempt_schedule_irq()

2019-01-31 Thread Valentin Schneider
Since there are a few archs out there that call preempt_schedule_irq() within a need_resched() loop, point out that it's not needed. Signed-off-by: Valentin Schneider Cc: Jonathan Corbet Cc: Ingo Molnar Cc: Peter Zijlstra Cc: Thomas Gleixner Cc: Julien Thierry Cc: linux-doc@vger.kernel.org -

[RFC PATCH 0/3] arm/arm64: entry: Remove need_resched() loop

2019-01-31 Thread Valentin Schneider
A while back (before [1]), i386 had this in the tail of its irq handling code: need_resched: movl TI_flags(%ebp), %ecx # need_resched set ? testb $_TIF_NEED_RESCHED, %cl jz restore_all testl $IF_MASK,EFLAGS(%esp) # interrupts off (exception path)

Re: [PATCH v4 01/12] Documentation: Document arm64 kpti control

2019-01-31 Thread Andre Przywara
On Fri, 25 Jan 2019 12:07:00 -0600 Jeremy Linton wrote: > For a while Arm64 has been capable of force enabling > or disabling the kpti mitigations. Lets make sure the > documentation reflects that. > > Signed-off-by: Jeremy Linton > Cc: Jonathan Corbet > Cc: linux-doc@vger.kernel.org Reviewed

Re: [PATCH v7 0/3] clk: clkdev add managed lookup registrations

2019-01-31 Thread Russell King - ARM Linux admin
On Thu, Jan 31, 2019 at 03:24:52PM +0200, Matti Vaittinen wrote: > Hello All, > > On Fri, Dec 07, 2018 at 01:09:00PM +0200, Matti Vaittinen wrote: > > Series adds managed clkdev lookup interfaces and cleans few drivers > > > > Few clk drivers appear to be leaking clkdev lookup registrations at >

Re: [PATCH v7 0/3] clk: clkdev add managed lookup registrations

2019-01-31 Thread Matti Vaittinen
Hello All, On Fri, Dec 07, 2018 at 01:09:00PM +0200, Matti Vaittinen wrote: > Series adds managed clkdev lookup interfaces and cleans few drivers > > Few clk drivers appear to be leaking clkdev lookup registrations at > driver remove. The patch series adds devm versions of lookup > registrations

[PATCH v3 0/2] efi: arm: add support for earlycon on EFI framebuffer

2019-01-31 Thread Ard Biesheuvel
Repurpose the existing EFI earlyprintk code to implement support for 'earlycon=efi' for arm64 systems, allowing the graphical console to be used instead of the serial port for early debug output. Changes since v2: - update patch #1 so that no attempts are made to build the memencrypt related ear

[PATCH v3 1/2] x86: make ARCH_USE_MEMREMAP_PROT a generic Kconfig symbol

2019-01-31 Thread Ard Biesheuvel
Turn ARCH_USE_MEMREMAP_PROT into a generic Kconfig symbol, and fix the dependency expression to reflect that AMD_MEM_ENCRYPT depends on it, instead of the other way around. This will permit ARCH_USE_MEMREMAP_PROT to be selected by other architectures and other subsystems, such as earlycon for efifb

[PATCH v3 2/2] efi: x86: convert x86 EFI earlyprintk into generic earlycon implementation

2019-01-31 Thread Ard Biesheuvel
Move the x86 EFI earlyprintk implementation to a shared location under drivers/firmware and tweak it slightly so we can expose it as an earlycon implementation (which is generic) rather than earlyprintk (which is only implemented for a few architectures) This also involves switching to write-combi

Re: mtd: nand: fix kernel-doc warnings

2019-01-31 Thread Boris Brezillon
On Mon, 2019-01-28 at 02:21:42 UTC, Randy Dunlap wrote: > From: Randy Dunlap > > Fix kernel-doc warnings in drivers/mtd/nand/raw: > > ../drivers/mtd/nand/raw/nand_base.c:420: warning: Function parameter or > member 'chip' not described in 'nand_fill_oob' > ../drivers/mtd/nand/raw/nand_bbt.c:173

Re: [PATCH 0/3] docs/core-api/mm: fix return value descriptions

2019-01-31 Thread Mike Rapoport
Any comments on these? On Sun, Jan 20, 2019 at 02:01:34PM +0200, Mike Rapoport wrote: > Many kernel-doc comments referenced by Documentation/core-api/mm-api.rst > have the return value descriptions misformatted or lack it completely. This > makes kernel-doc script unhappy and produces more than 10

[PATCH v2] ipconfig: add carrier_timeout kernel parameter

2019-01-31 Thread Martin Kepplinger
commit 3fb72f1e6e61 ("ipconfig wait for carrier") added a "wait for carrier" policy, with a fixed worst case maximum wait of two minutes. Now make the wait for carrier timeout configurable on the kernel commandline and use the 120s as the default. The timeout messages introduced with commit 5e404

Re: [PATCH 1/3] docs: Fix SLUB docs typo

2019-01-31 Thread Mike Rapoport
On Thu, Jan 31, 2019 at 03:06:21PM +1100, Tobin C. Harding wrote: > From: "Tobin C. Harding" > > There is a minor typo in SLUB documentation. > > Fix typo. > > Signed-off-by: Tobin C. Harding Acked-by: Mike Rapoport > --- > Documentation/vm/slub.rst | 2 +- > 1 file changed, 1 insertion(+)

Re: [PATCH 2/3] docs: Add missing colon

2019-01-31 Thread Mike Rapoport
On Thu, Jan 31, 2019 at 03:06:22PM +1100, Tobin C. Harding wrote: > From: "Tobin C. Harding" > > sphinx emits warning > >WARNING: Inline emphasis start-string without end-string. > > This is caused by a missing colon. > > Add missing colon, clearing shpinx build warning. > > Signed-of

Re: [PATCH 3/3] docs: Use underscore not hyphen in label

2019-01-31 Thread Mike Rapoport
On Thu, Jan 31, 2019 at 03:06:23PM +1100, Tobin C. Harding wrote: > From: "Tobin C. Harding" > > sphinx emits warning > >WARNING: undefined label: memory-allocation ... Weird, for me it works fine. The generated html at kernel.org [1] also seems to be Ok... What version of sphinx do yo