[PATCH v4 3/6] common: DMA-mapping: add DMA_ATTR_PRIVILEGED attribute

2016-07-25 Thread Mitchel Humpherys
This patch adds the DMA_ATTR_PRIVILEGED attribute to the DMA-mapping subsystem. Some advanced peripherals such as remote processors and GPUs perform accesses to DMA buffers in both privileged "supervisor" and unprivileged "user" modes. This attribute is used to indicate to the DMA-mapping

Re: Visualizing linux kernel datastructures

2016-07-25 Thread Jonathan Corbet
On Mon, 25 Jul 2016 16:56:46 +0200 Charlemagne Lasse wrote: > So my questions would be: > > 1. is there a standard (machine readable?) how to correctly document > (kernel-doc?) in the code if a struct list_head is the head/root of a > list or the anchor of the item

[PATCH 2/2] kernel-parameters.txt: Add new entry for i8042.noselftest

2016-07-25 Thread Marcos Paulo de Souza
This new parameter makes i8042 controller to skip selftest. It's useful to test some problems in touchpads that stop to work after a suspend/resume cycle. Signed-off-by: Marcos Paulo de Souza --- Documentation/kernel-parameters.txt | 3 +++ 1 file changed, 3

Re: [PATCH v13 00/12] support "task_isolation" mode

2016-07-25 Thread Christoph Lameter
On Fri, 22 Jul 2016, Chris Metcalf wrote: > > It already as a stable clocksource. Sorry but that was one of the criteria > > for the server when we ordered them. Could this be clock adjustments? > > We probably need to get clock folks to jump in on this thread! Guess so. I will have a look at

Re: staging: ks7010: Rename jump labels

2016-07-25 Thread SF Markus Elfring
>> Would you like to support the renaming of a label like "error_out1" >> (in the function "ks7010_upload_firmware" for example)? > > They should be renamed too. Anything using numbers instead of explicit Interesting … > Anything using numbers instead of explicit labels should be updated.

Visualizing linux kernel datastructures

2016-07-25 Thread Charlemagne Lasse
Hi, I wanted to understand some modules in the kernel and how their data structures are interconnected. So I am not interested in all data structures of the kernel but something more like net/bridge/br_private.h. With C++ I would just tell doxygen to generate uml-like class diagrams. But the

Re: staging: ks7010: Rename jump labels

2016-07-25 Thread Jean Delvare
Hi Markus, On Thu, 21 Jul 2016 22:11:53 +0200, SF Markus Elfring wrote: > >> How do you generally think about jump label renaming? > > > > Renaming from "out0:", "out1:" etc to something meaningful, yes. > > I suggest to take another look at such identifiers. > > Would you like to support the

[PULL] Documentation for 4.8

2016-07-25 Thread Jonathan Corbet
The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git repository at: git://git.lwn.net/linux.git tags/docs-for-linus for you to fetch changes up to a88b1672d4ddf9895eb53e6980926d5e960dea8e:

[PATCH] CodingStyle: Clarify and complete chapter 7

2016-07-25 Thread Jean Delvare
Chapter 7 (Centralized exiting of functions) of the coding style documentation is unclear at times, and lacks some information (such as the possibility to indent labels with a single space.) Clarify and complete it. Signed-off-by: Jean Delvare Cc: Markus Elfring