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

2016-07-18 Thread Chris Metcalf
On 7/18/2016 6:11 PM, Andy Lutomirski wrote: As an example, enough vmalloc/vfree activity will eventually cause flush_tlb_kernel_range to be called and*boom*, there goes your shiny production dataplane application. Well, that's actually a refinement that I did not inflict on this patch series.

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

2016-07-18 Thread Andy Lutomirski
On Thu, Jul 14, 2016 at 2:22 PM, Chris Metcalf wrote: > On 7/14/2016 5:03 PM, Andy Lutomirski wrote: >> >> On Thu, Jul 14, 2016 at 1:48 PM, Chris Metcalf >> wrote: >>> >>> Here is a respin of the task-isolation patch set. This primarily >>> reflects

Re: [PATCH v2 2/3] hwmon: xgene: Add hwmon driver

2016-07-18 Thread Hoan Tran
Hi Guenter, On Sat, Jul 16, 2016 at 9:35 AM, Guenter Roeck wrote: > On 07/11/2016 05:30 PM, Hoan Tran wrote: >> >> This patch adds hardware temperature and power reading support for >> APM X-Gene SoC using the mailbox communication interface. >> >> Signed-off-by: Hoan Tran

[PATCH 10/10] coresight: documenting range and start/stop filtering

2016-07-18 Thread Mathieu Poirier
To reduce the amount of traces generated by tracers range and start/stop address filtering has been implemented. This patch provides example on how to use the various options currently supported. Signed-off-by: Mathieu Poirier Cc: linux-doc@vger.kernel.org ---

Re: [PATCH v4 09/12] [media] vivid: Local optimization

2016-07-18 Thread Ricardo Ribalda Delgado
Hi Philipp: On Mon, Jul 18, 2016 at 4:16 PM, Philipp Zabel wrote: > I had the best looking result with this variant, btw: > > y >>= 4; > cb >>= 4; > cr >>= 4; > if (tpg->real_quantization == V4L2_QUANTIZATION_LIM_RANGE) { >

Re: [PATCH v3] Add kernel parameter to blacklist modules

2016-07-18 Thread Rusty Russell
Prarit Bhargava writes: > Blacklisting a module in linux has long been a problem. The current > procedure is to use rd.blacklist=module_name, however, that doesn't > cover the case after the initramfs and before a boot prompt (where one > is supposed to use

Re: [PATCH v3] Documentation: Move samples from doc to samples/

2016-07-18 Thread Joe Perches
On Mon, 2016-07-18 at 15:27 -0400, Mahesh Khanwalkar wrote: > Moved sample code found in Documentation/ to samples/ but kept actual > documentation where it is, while updating any in-text references to the > moved code. Updated the Documentation/Makefile and samples/Makefile to > reflect the

Re: [PATCH v2] Documentation: Move samples from doc to samples/

2016-07-18 Thread Timur Tabi
Mahesh Khanwalkar wrote: Documentation/mic/mpssd/micctrl| 173 -- Documentation/mic/mpssd/mpss | 200 - ... +++ b/samples/mpssd/.gitignore @@ -0,0 +1,3 @@ +mpssd +mpss +micctrl I think this is wrong. --

[PATCH v2] Documentation: Move samples from doc to samples/

2016-07-18 Thread Mahesh Khanwalkar
Moved sample code found in Documentation/ to samples/ but kept actual documentation where it is, while updating any in-text references to the moved code. Updated the Documentation/Makefile and samples/Makefile to reflect the change. Built with CONFIG_SAMPLES=y in .config with no build errors. The

[PATCH 14/18] [media] cx88.rst: add contents from not-in-cx2388x-datasheet.txt

2016-07-18 Thread Mauro Carvalho Chehab
There are some information about missing/wrong documentation at cx231xx datasheet. Add it to the cx88 chapter. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/cx88.rst | 42 ++

[PATCH 10/18] [media] cx2341x.rst: add the contents of fw-upload.txt

2016-07-18 Thread Mauro Carvalho Chehab
Add the contents of fw-upload.txt, after converting it to ReST format. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/cx2341x.rst | 53 + 1 file changed, 53 insertions(+) diff --git

[PATCH 11/18] [media] cx2341x.rst: add contents of fw-osd-api.txt

2016-07-18 Thread Mauro Carvalho Chehab
Convert it to ReST format and add to cx2341x.rst file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/cx2341x.rst | 675 +++ Documentation/video4linux/cx2341x/fw-osd-api.txt | 350

[PATCH 07/18] [media] cx2341x.rst: add the contents of fw-calling.txt

2016-07-18 Thread Mauro Carvalho Chehab
Convert it to ReST and add its contents at this file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/cx2341x.rst | 75 Documentation/video4linux/cx2341x/fw-calling.txt | 69 -- 2 files changed,

[PATCH 12/18] [media] cx2341x: add contents of README.hm12

2016-07-18 Thread Mauro Carvalho Chehab
The README.hm12 file describes the proprietary format used by this driver for raw format, called HM12. Add its description at the document, after converted to ReST. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/cx2341x.rst | 125

[PATCH 18/18] [media] doc-rst: better name the media books

2016-07-18 Thread Mauro Carvalho Chehab
The titles at the media books were misleading, and some books were not numbered. Rename the kAPI book to better reflect its contents, be more consistent on the initial rst file for each book and better name them. Signed-off-by: Mauro Carvalho Chehab ---

[PATCH 13/18] [media] cx2341x.rst: add contents of README.vbi

2016-07-18 Thread Mauro Carvalho Chehab
Finally, adds the content of README.vbi at cx2341x.rst after its conversion to ReST format. Now, add information about this chipset and its driver is inside a single chapter at the media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab ---

[PATCH 15/18] [media] cx88.rst: add contents of hauppauge-wintv-cx88-ir.txt

2016-07-18 Thread Mauro Carvalho Chehab
Import the contents of hauppauge-wintv-cx88-ir.txt, after converted to ReST into cx88.rst file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/cx88.rst | 62 ++ .../video4linux/cx88/hauppauge-wintv-cx88-ir.txt |

[PATCH 17/18] [media] doc-rst: fix media kAPI documentation

2016-07-18 Thread Mauro Carvalho Chehab
I ended by adding twice each media header, because I saw some missing stuff at the documents. It seems it was my mistake, as everything seems to be there. So, remove those extra stuff, to avoid duplicating the documentation of the functions. Signed-off-by: Mauro Carvalho Chehab

[PATCH 03/18] [media] doc-rst: add documentation for tuners

2016-07-18 Thread Mauro Carvalho Chehab
Convert bttv/Tuners to ReST and add it to the media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/index.rst | 1 + Documentation/media/v4l-drivers/tuners.rst | 90 ++ 2 files changed, 54

[PATCH 16/18] [media] get rid of Documentation/video4linux/lifeview.txt

2016-07-18 Thread Mauro Carvalho Chehab
Move the contents of this file to bttv.rst and saa7134.rst. With that, we can finally remove Documentation/video4linux. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/bttv.rst| 8 ++ Documentation/media/v4l-drivers/saa7134.rst | 36

[PATCH 09/18] [media] cx2341x.rst: add contents of fw-memory.txt

2016-07-18 Thread Mauro Carvalho Chehab
Convert the content to ReST and add it at the cx231xx.rst file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/cx2341x.rst | 151 Documentation/video4linux/cx2341x/fw-memory.txt | 139 -- 2

[PATCH 08/18] [media] cx2341x.rst: add contents of fw-dma.txt

2016-07-18 Thread Mauro Carvalho Chehab
Add the contents of fw-dma.txt, converted to ReST, and drop the old file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/cx2341x.rst | 99 Documentation/video4linux/cx2341x/fw-dma.txt | 96

[PATCH 06/18] [media] cx2341x.rst: Add the contents of fw-encoder-api.txt

2016-07-18 Thread Mauro Carvalho Chehab
Convert its contents to ReST and add to cx2341x.rst. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/cx2341x.rst| 1241 .../video4linux/cx2341x/fw-encoder-api.txt | 709 --- 2 files changed, 1241

[PATCH 02/18] [media] doc-rst: add documentation for bttv driver

2016-07-18 Thread Mauro Carvalho Chehab
Convert it to ReST and add it to media/v4l-drivers book. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/bttv.rst | 156 ++ Documentation/media/v4l-drivers/index.rst | 1 + 2 files changed, 96 insertions(+), 61

[PATCH 05/18] [media] cx2341x.rst: add fw-decoder-registers.txt content

2016-07-18 Thread Mauro Carvalho Chehab
Convert the contents of fw-decoder-registers.txt to ReST and add it to cx2341x.rst file. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/v4l-drivers/cx2341x.rst| 1003 ++-- .../video4linux/cx2341x/fw-decoder-regs.txt| 817

Re: [PATCH] Documentation: Move samples from doc to samples/

2016-07-18 Thread Timur Tabi
Mahesh Khanwalkar wrote: samples/watchdog/Makefile |3 + samples/watchdog/watchdog-simple.c | 24 + samples/watchdog/watchdog-test.c | 98 ++ Acked-by: Timur Tabi However, watchdog-test.c has been

Re: [PATCH v8 2/4] i2c-smbus: add SMBus Host Notify support

2016-07-18 Thread Jean Delvare
On Mon, 18 Jul 2016 17:59:02 +0200, Benjamin Tissoires wrote: > On Jul 18 2016 or thereabouts, Jean Delvare wrote: > > You provide stubs for SMBus Host Notify support if CONFIG_I2C_SMBUS is > > not selected. There are no such stubs for SMBus Alert support, for which > > I assumed drivers would

Re: [PATCH v8 2/4] i2c-smbus: add SMBus Host Notify support

2016-07-18 Thread Benjamin Tissoires
On Jul 18 2016 or thereabouts, Jean Delvare wrote: > Hi Benjamin, Wolfram, > > Now that I have reviewed the i2c-i801 part of the implementation, I'm > wondering... > > On Thu, 9 Jun 2016 16:53:48 +0200, Benjamin Tissoires wrote: > > +/** > > + * i2c_setup_smbus_host_notify - Allocate a new

Re: [PATCH v8 2/4] i2c-smbus: add SMBus Host Notify support

2016-07-18 Thread Jean Delvare
Hi Benjamin, Wolfram, Now that I have reviewed the i2c-i801 part of the implementation, I'm wondering... On Thu, 9 Jun 2016 16:53:48 +0200, Benjamin Tissoires wrote: > +/** > + * i2c_setup_smbus_host_notify - Allocate a new smbus_host_notify for the > given > + * I2C adapter. > + * @adapter:

Re: [PATCH] Documentation: add watermark_scale_factor to the list of vm systcl file

2016-07-18 Thread Jonathan Corbet
On Tue, 12 Jul 2016 12:05:59 +0200 "Jerome Marchand" wrote: > Commit 795ae7a0de6b ("mm: scale kswapd watermarks in proportion to > memory") properly added the description of the new knob to > Documentation/sysctl/vm.txt, but forgot to add it to the list of files > in

Re: [PATCH v4 09/12] [media] vivid: Local optimization

2016-07-18 Thread Philipp Zabel
Hi Ricardo, Am Montag, den 18.07.2016, 15:21 +0200 schrieb Ricardo Ribalda Delgado: > Hi Philipp > > On Mon, Jul 18, 2016 at 3:13 PM, Philipp Zabel wrote: > > Since the constant expressions are evaluated at compile time, you are > > not actually removing shifts. The code

Re: [PATCH v4 09/12] [media] vivid: Local optimization

2016-07-18 Thread Ricardo Ribalda Delgado
Hi Philipp On Mon, Jul 18, 2016 at 3:13 PM, Philipp Zabel wrote: > Since the constant expressions are evaluated at compile time, you are > not actually removing shifts. The code generated for precalculate_color > by gcc 5.4 even grows by one asr instruction with this

Re: [PATCH v4 09/12] [media] vivid: Local optimization

2016-07-18 Thread Philipp Zabel
Hi Ricardo, Am Montag, den 18.07.2016, 14:42 +0200 schrieb Ricardo Ribalda Delgado: > Avoid duplicated data shifts when possible. > > Signed-off-by: Ricardo Ribalda Delgado > --- > drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 13 +++-- > 1 file changed, 7

[PATCH v4 01/12] [media] videodev2.h Add HSV formats

2016-07-18 Thread Ricardo Ribalda Delgado
These formats store the color information of the image in a geometrical representation. The colors are mapped into a cylinder, where the angle is the HUE, the height is the VALUE and the distance to the center is the SATURATION. This is a very useful format for image segmentation algorithms.

[PATCH v4 00/12] Add HSV format

2016-07-18 Thread Ricardo Ribalda Delgado
HSV formats are extremely useful for image segmentation. This set of patches makes v4l2 aware of this kind of formats. Vivid changes have been divided to ease the reviewing process. We are working on patches for Gstreamer and OpenCV that will make use of these formats. We still need to decide

[PATCH v4 03/12] [media] Documentation: Add Ricardo Ribalda

2016-07-18 Thread Ricardo Ribalda Delgado
My initials were on the Changelog, but there was no link to my name. Signed-off-by: Ricardo Ribalda Delgado --- Documentation/media/uapi/v4l/v4l2.rst | 4 1 file changed, 4 insertions(+) diff --git a/Documentation/media/uapi/v4l/v4l2.rst

[PATCH v4 12/12] [media] vivid: Add support for HSV encoding

2016-07-18 Thread Ricardo Ribalda Delgado
Support HSV encoding. Most of the logic is replicated from ycbcr_enc. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 25 + drivers/media/platform/vivid/vivid-core.h | 1 +

[PATCH v4 04/12] [media] vivid: Code refactor for color encoding

2016-07-18 Thread Ricardo Ribalda Delgado
Replace is_yuv with color_enc Which can be used by other color encodings such us HSV. This change should ease the review of the following patches. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 49 +++

[PATCH v4 02/12] [media] Documentation: Add HSV format

2016-07-18 Thread Ricardo Ribalda Delgado
Describe the HSV formats Signed-off-by: Ricardo Ribalda Delgado --- Documentation/media/uapi/v4l/hsv-formats.rst | 19 +++ Documentation/media/uapi/v4l/pixfmt-packed-hsv.rst | 158 + Documentation/media/uapi/v4l/pixfmt.rst| 1 +

[PATCH v4 11/12] [media] Documentation: Add HSV encodings

2016-07-18 Thread Ricardo Ribalda Delgado
Describe the hsv_enc field and its use. Signed-off-by: Ricardo Ribalda Delgado --- Documentation/media/uapi/v4l/pixfmt-002.rst| 12 ++- Documentation/media/uapi/v4l/pixfmt-003.rst| 14 ++-- Documentation/media/uapi/v4l/pixfmt-006.rst|

[PATCH v4 09/12] [media] vivid: Local optimization

2016-07-18 Thread Ricardo Ribalda Delgado
Avoid duplicated data shifts when possible. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/media/common/v4l2-tpg/v4l2-tpg-core.c

[PATCH v4 07/12] [media] vivid: Introduce TPG_COLOR_ENC_LUMA

2016-07-18 Thread Ricardo Ribalda Delgado
Simplifies handling of Gray formats. Signed-off-by: Ricardo Ribalda Delgado --- drivers/media/common/v4l2-tpg/v4l2-tpg-core.c | 26 +++-- drivers/media/platform/vivid/vivid-vid-common.c | 6 +++--- include/media/v4l2-tpg.h

[PATCH v4 10/12] [media] videodev2.h Add HSV encoding

2016-07-18 Thread Ricardo Ribalda Delgado
Some hardware maps the Hue between 0 and 255 instead of 0-179. Support this format with a new field hsv_enc. Signed-off-by: Ricardo Ribalda Delgado --- include/uapi/linux/videodev2.h | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff

Re: [PATCH 2/2] dax: remote unused fault wrappers

2016-07-18 Thread Jan Kara
On Thu 14-07-16 15:40:49, Ross Zwisler wrote: > Remove the unused wrappers dax_fault() and dax_pmd_fault(). After this > removal, rename __dax_fault() and __dax_pmd_fault() to dax_fault() and > dax_pmd_fault() respectively, and update all callers. > > The dax_fault() and dax_pmd_fault() wrappers

Re: Troubles with kernel-doc and RST files

2016-07-18 Thread Mauro Carvalho Chehab
Em Sun, 17 Jul 2016 20:37:19 -0600 Jonathan Corbet escreveu: > [Back home and trying to get going on stuff for real. I'll look at the > issues listed in this message one at a time.] > > On Sun, 17 Jul 2016 10:01:54 -0300 > Mauro Carvalho Chehab wrote:

Re: [PATCH v8 2/4] i2c-smbus: add SMBus Host Notify support

2016-07-18 Thread Jean Delvare
[As it doesn't look like this message was delivered, I am sending it again. I apologize if this is a duplicate for some of you.] Hi Benjamin, Wolfram, Sorry for being late to the party. I finally found some time to look at the patches. Looks good overall, with just two minor comments: On jeu.,

[PATCH v2 0/8] Cache-coherent DMA access using UIO

2016-07-18 Thread Anup Patel
The goal of this patchset is to improve UIO framework and UIO dmem driver to allow cache-coherent DMA accesses from user-space. This patchset is based on two previous patchsets: 1) [PATCH v5 0/6] UIO driver for APM X-Gene QMTM (Refer, http://www.spinics.net/lists/devicetree/msg58244.html) 2)

[PATCH v2 4/8] uio: Add new UIO_MEM_DEVICE type for mem regions

2016-07-18 Thread Anup Patel
On ARM64, the MMU supports special memory attributes for device memory/registers. Due to this we have pgprot_device() provided by asm/pgtable.h of arch/arm64. On architectures that do not have special MMU attribute for device memory/registers, the asm-generic/pgtable.h maps pgprot_device() to

[PATCH v2 2/8] uio: code style cleanup

2016-07-18 Thread Anup Patel
From: Ankit Jindal This patch fixes the indentation of switch-case block in uio driver. Signed-off-by: Ankit Jindal Signed-off-by: Anup Patel --- drivers/uio/uio.c | 14 +++--- 1 file changed, 7 insertions(+), 7

[PATCH v2 8/8] uio: Use new memtypes in uio_dmem_genirq

2016-07-18 Thread Anup Patel
This patch extends uio_dmem_genirq driver to use recently added memtypes as follows: 1. Use UIO_MEM_DEVICE memtype for MEM resources 2. Use UIO_MEM_PHYS_CACHE memtype for dynamic regions when UIO DT node is marked as DMA coherent. Signed-off-by: Anup Patel ---

[PATCH v2 5/8] Documentation: Update documentation for UIO_MEM_PHYS_CACHE and UIO_MEM_DEVICE

2016-07-18 Thread Anup Patel
From: Ankit Jindal This patch updates UIO documentation for new mem region types UIO_MEM_PHYS_CACHE and UIO_MEM_DEVICE. Signed-off-by: Ankit Jindal Signed-off-by: Anup Patel --- Documentation/DocBook/uio-howto.tmpl | 6

[PATCH v2 1/8] uio: fix dmem_region_start computation

2016-07-18 Thread Anup Patel
From: Jan Viktorin The variable i contains a total number of resources (including IORESOURCE_IRQ). However, we want the dmem_region_start to point after the last resource of type IORESOURCE_MEM. The original behaviour leads (very likely) to skipping several UIO mapping

[PATCH v2 3/8] uio: Add new UIO_MEM_PHYS_CACHE type for mem regions

2016-07-18 Thread Anup Patel
From: Ankit Jindal Currently, three types of mem regions are supported: UIO_MEM_PHYS, UIO_MEM_LOGICAL and UIO_MEM_VIRTUAL. Among these UIO_MEM_PHYS helps UIO driver export physcial memory to user space as non-cacheable user memory. Typcially memory-mapped registers of a

Re: [PATCH v3 8/9] [media] vivid: Fix YUV555 and YUV565 handling

2016-07-18 Thread Ricardo Ribalda Delgado
Hi Hans On Mon, Jul 18, 2016 at 10:51 AM, Hans Verkuil wrote: >> + int y, cb, cr; >> + bool ycbbr_valid = false; > > I guess you mean ycbcr_valid? Yes, I think the medical term is Saturday dyslexia :) It is fixed on the next version. Thanks! -- To unsubscribe from

Re: [PATCH v3 8/9] [media] vivid: Fix YUV555 and YUV565 handling

2016-07-18 Thread Hans Verkuil
On 07/16/2016 12:41 PM, Ricardo Ribalda Delgado wrote: > precalculate_color() had a optimization that avoided duplicated > conversion for YUV formats. This optimization did not take into > consideration YUV444, YUV555, YUV565 or limited range quantization. > > This patch keeps the optimization,

Re: [PATCH v3 4/9] [media] vivid: code refactor for color encoding

2016-07-18 Thread Hans Verkuil
On 07/16/2016 12:41 PM, Ricardo Ribalda Delgado wrote: > Replace is_yuv with color_enc Which can be used by other > color encodings such us HSV. > > This change should ease the review of the following patches. > > Signed-off-by: Ricardo Ribalda Delgado > --- >

Re: [PATCH V2] leds: trigger: Introduce an USB port trigger

2016-07-18 Thread Rafał Miłecki
On 18 July 2016 at 07:53, Peter Chen wrote: > On Mon, Jul 18, 2016 at 07:57:34AM +0200, Rafał Miłecki wrote: >> On 18 July 2016 at 07:40, Peter Chen wrote: >> > On Mon, Jul 18, 2016 at 06:44:49AM +0200, Rafał Miłecki wrote: >> >> On 18 July 2016 at

Re: [PATCH V2] leds: trigger: Introduce an USB port trigger

2016-07-18 Thread Peter Chen
On Mon, Jul 18, 2016 at 07:57:34AM +0200, Rafał Miłecki wrote: > On 18 July 2016 at 07:40, Peter Chen wrote: > > On Mon, Jul 18, 2016 at 06:44:49AM +0200, Rafał Miłecki wrote: > >> On 18 July 2016 at 04:31, Peter Chen wrote: > >> > On Fri, Jul 15,