[PATCH v3] doc:it_IT: align Italian documentation

2020-11-14 Thread Federico Vaga
("docs: process: Add cross-link to security-bugs") commit bdc48fa11e46 ("checkpatch/coding-style: deprecate 80-column warning") commit f67281a72b30 ("Documentation: process: step 2: Link to email list fixed") Signed-off-by: Federico Vaga --- v2: added mi

[PATCH] doc:it_IT: align translation to mainline

2019-07-29 Thread Federico Vaga
The patch translates the following patches in Italian: 1fb12b35e5ff kbuild: Raise the minimum required binutils version to 2.21 9c3c0c204814 isdn: remove isdn4linux Signed-off-by: Federico Vaga --- .../translations/it_IT/process/changes.rst| 22 --- 1 file changed, 4

[PATCH] doc:it_IT: fix file references

2019-05-30 Thread Federico Vaga
Fix italian translation file references based on `scripts/documentation-file-ref-check` output. Signed-off-by: Federico Vaga --- .../it_IT/admin-guide/kernel-parameters.rst | 12 .../translations/it_IT/process/adding-syscalls.rst | 2 +- .../translations/it_IT/process

Re: [PATCH 15/22] docs: it: license-rules.rst: get rid of warnings

2019-05-30 Thread Federico Vaga
On Thursday, May 30, 2019 1:23:46 AM CEST Mauro Carvalho Chehab wrote: > There's a wrong identation on a code block, and it tries to use > a reference that was not defined at the Italian translation. > > Documentation/translations/it_IT/process/license-rules.rst:329: WARNING: > Literal block

[PATCH 1/4] v4l: vb2: add prepare/finish callbacks to allocators

2012-09-13 Thread Federico Vaga
This patch adds support for prepare/finish callbacks in VB2 allocators. These callback are used for buffer flushing. Signed-off-by: Marek Szyprowski Acked-by: Laurent Pinchart Acked-by: Federico Vaga --- drivers/media/v4l2-core/videobuf2-core.c | 11 +++ include/media/videobuf2-core.h

[PATCH 3/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-09-13 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/v4l2-core/Kconfig | 5 + drivers/media/v4l2-core/Makefile | 1 + drivers/media/v4l2-core/videobuf2-dma-streaming.c | 205 ++ include/media/videobuf2-dma-streaming.h | 24 +++ 4

[PATCH 2/4] adv7180: remove {query/g_/s_}ctrl

2012-09-13 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/i2c/adv7180.c | 3 --- 1 file modificato, 3 rimozioni(-) diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c index 45ecf8d..43bc2b9 100644 --- a/drivers/media/i2c/adv7180.c +++ b/drivers/media/i2c/adv7180.c @@ -402,9 +402,6

[PATCH 4/4] sta2x11_vip: convert to videobuf2 and control framework

2012-09-13 Thread Federico Vaga
Signed-off-by: Federico Vaga Acked-by: Giancarlo Asnaghi --- drivers/media/pci/sta2x11/Kconfig |2 +- drivers/media/pci/sta2x11/sta2x11_vip.c | 1235 ++- 2 file modificati, 411 inserzioni(+), 826 rimozioni(-) diff --git a/drivers/media/pci/sta2x11/Kconfig

Re: [PATCH 3/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-09-13 Thread Federico Vaga
e one or two lines of comment to summarize each function. what do you think? -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 3/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-09-13 Thread Federico Vaga
> On Thursday, September 13, 2012 3:53 PM Federico Vaga wrote: > > Signed-off-by: Federico Vaga > > A few words explaining why this memory handling module is required or > beneficial will definitely improve the commit :) ok, I will write some lines > > +static void *

Re: [PATCH 3/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-09-13 Thread Federico Vaga
what I'm doing in each vb2_mem_ops. I suppose that this is the reason why there are no comments inside the other memory allocator. Maybe I am wrong. -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@v

Re: [PATCH 3/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-09-13 Thread Federico Vaga
In data giovedì 13 settembre 2012 11:45:31, Jonathan Corbet ha scritto: > On Thu, 13 Sep 2012 17:46:32 +0200 > > Federico Vaga wrote: > > > A few words explaining why this memory handling module is required > > > or > > > beneficial will definitely improve the

Re: [PATCH v3 3/4] sta2x11_vip: convert to videobuf2 and control framework

2012-12-04 Thread Federico Vaga
On Tuesday 04 December 2012 14:15:15 Mauro Carvalho Chehab wrote: > Em 24-09-2012 07:58, Federico Vaga escreveu: > > This patch re-write the driver and use the videobuf2 > > interface instead of the old videobuf. Moreover, it uses also > > the control framework which allows

Re: [PATCH v3 3/4] sta2x11_vip: convert to videobuf2 and control framework

2012-12-05 Thread Federico Vaga
I understand. I will write something like this. * Copyright (C) 2012 ST Microelectronics * author: Federico Vaga * Copyright (C) 2010 WindRiver Systems, Inc. * authors: Andreas Kies * Vlad Lungu > The only way of not preserving the original author

Re: [PATCH v3 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-12-05 Thread Federico Vaga
On Tuesday 04 December 2012 14:04:22 Mauro Carvalho Chehab wrote: > Em 24-09-2012 09:44, Marek Szyprowski escreveu: > > Hello, > > > > On Monday, September 24, 2012 12:59 PM Federico Vaga wrote: > >> The DMA streaming allocator is similar to the DMA contig but

Re: [PATCH v3 3/4] sta2x11_vip: convert to videobuf2 and control framework

2012-12-05 Thread Federico Vaga
> > Ok, I understand. I will write something like this. > > > > * Copyright (C) 2012 ST Microelectronics > > * author: Federico Vaga > > * Copyright (C) 2010 WindRiver Systems, Inc. > > * authors: Andreas Kies > > *

Re: [PATCH v3 3/4] sta2x11_vip: convert to videobuf2 and control framework

2012-12-05 Thread Federico Vaga
we need to handle it with due care. Getting other authors's > acks on such patch seems to be the only safe way of doing that. Yes I got the point. Thank you -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to

[PATCH v3 3/4] sta2x11_vip: convert to videobuf2 and control framework

2012-12-06 Thread Federico Vaga
This patch re-write the driver and use the videobuf2 interface instead of the old videobuf. Moreover, it uses also the control framework which allows the driver to inherit controls from its subdevice (ADV7180) Signed-off-by: Federico Vaga Acked-by: Giancarlo Asnaghi --- drivers/media/pci

Re: [PATCH v3 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-12-11 Thread Federico Vaga
related issue, while doing DMABUF tests with an Exynos4 > hardware, using a s5p sensor, sending data to s5p-tv, I noticed a CPU > consumption of about 42%, which seems too high. Could it be related to > not using the DMA streaming API? As I wrote above, I'm not a DMA performance expert. I skip this

Re: [GIT PULL FOR v3.5] Move sta2x11_vip to staging

2012-07-08 Thread Federico Vaga
> Any news on this? Hi Hans, I'm on it :) -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

Re: [PATCH 1/3] adv7180: add support to user controls

2012-07-08 Thread Federico Vaga
> If you could do that work, then that would be much appreciated. You have the > hardware, after all, so that makes it easier for you. Hi Hans, I'll submit a patch for the control framework on the ADV7180 -- Federico Vaga -- To unsubscribe from this list: send the line "unsubs

[PATCH RFC] [media] adv7180.c: convert to v4l2 control framework

2012-07-10 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/video/adv7180.c | 221 + 1 file changed, 90 insertions(+), 131 deletions(-) diff --git a/drivers/media/video/adv7180.c b/drivers/media/video/adv7180.c index 174bffa..7705456 100644 --- a/drivers/media/video

Re: [PATCH v4 1/3] videobuf2-dma-contig: user can specify GFP flags

2013-01-08 Thread Federico Vaga
On x86 platform GFP_DMA allocates under 16MB and this limit can be too strict. When many other drivers use GFP_DMA we can saturate this tiny zone. As you said, this fix the issue with _older_ and _non-standard_ (like sta2x11) systems. But this fix has effect on every other standard and new systems

Re: [PATCH v4 1/3] videobuf2-dma-contig: user can specify GFP flags

2013-01-08 Thread Federico Vaga
onf to vb2_alloc_ctx because it is an implementation vb2_alloc_ctx and (at the moment) it is used only by dma-contig -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kern

[PATCH v2 3/4] sta2x11_vip: convert to videobuf2 and control framework

2012-09-21 Thread federico . vaga
From: Federico Vaga This patch re-write the driver and use the videobuf2 interface instead of the old videobuf. Moreover, it uses also the control framework which allows the driver to inherit controls from its subdevice (ADV7180) Signed-off-by: Federico Vaga Acked-by: Giancarlo Asnaghi

[PATCH 1/4] v4l: vb2: add prepare/finish callbacks to allocators

2012-09-21 Thread Federico Vaga
This patch adds support for prepare/finish callbacks in VB2 allocators. These callback are used for buffer flushing. Signed-off-by: Marek Szyprowski Acked-by: Laurent Pinchart Acked-by: Federico Vaga --- drivers/media/v4l2-core/videobuf2-core.c | 11 +++ include/media/videobuf2-core.h

[PATCH v2 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-09-21 Thread Federico Vaga
-by: Federico Vaga --- drivers/media/v4l2-core/Kconfig | 5 + drivers/media/v4l2-core/Makefile | 1 + drivers/media/v4l2-core/videobuf2-dma-streaming.c | 205 ++ include/media/videobuf2-dma-streaming.h | 32 4 file modificati, 243

[PATCH v2 3/4] sta2x11_vip: convert to videobuf2 and control framework

2012-09-21 Thread Federico Vaga
This patch re-write the driver and use the videobuf2 interface instead of the old videobuf. Moreover, it uses also the control framework which allows the driver to inherit controls from its subdevice (ADV7180) Signed-off-by: Federico Vaga Acked-by: Giancarlo Asnaghi --- drivers/media/pci

[PATCH v2 4/4] adv7180: remove {query/g_/s_}ctrl

2012-09-21 Thread Federico Vaga
All drivers which use this subdevice use also the control framework. The v4l2_subdev_core_ops operations {query/g_/s_}ctrl are useless because device drivers will inherit the controls from this subdevice. Signed-off-by: Federico Vaga --- drivers/media/i2c/adv7180.c | 3 --- 1 file modificato, 3

Re: [PATCH 1/4] v4l: vb2: add prepare/finish callbacks to allocators

2012-09-21 Thread Federico Vaga
rated in the kernel before this one; so this patch will be useless. Anyway, I will apply this comment fix. -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vge

Re: [PATCH v2 3/4] sta2x11_vip: convert to videobuf2 and control framework

2012-09-23 Thread Federico Vaga
ioc_reqbufs = vb2_ioctl_reqbufs, > > + .vidioc_querybuf = vb2_ioctl_querybuf, > > + .vidioc_qbuf = vb2_ioctl_qbuf, > > + .vidioc_dqbuf = vb2_ioctl_dqbuf, > > + .vidioc_create_bufs = vb2_ioctl_create_bufs, > > If you want to use create_bufs, then in queue_setup() you need to > handle the fmt argument. See e.g. vivi.c for an example. Fixed I will send a patch v3 tomorrow -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v3 1/4] v4l: vb2: add prepare/finish callbacks to allocators

2012-09-24 Thread Federico Vaga
This patch adds support for prepare/finish callbacks in VB2 allocators. These callback are used for buffer flushing. Signed-off-by: Marek Szyprowski Acked-by: Laurent Pinchart Acked-by: Federico Vaga --- drivers/media/v4l2-core/videobuf2-core.c | 11 +++ include/media/videobuf2-core.h

[PATCH v3 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-09-24 Thread Federico Vaga
-by: Federico Vaga --- drivers/media/v4l2-core/Kconfig | 5 + drivers/media/v4l2-core/Makefile | 1 + drivers/media/v4l2-core/videobuf2-dma-streaming.c | 205 ++ include/media/videobuf2-dma-streaming.h | 32 4 file modificati, 243

[PATCH v3 3/4] sta2x11_vip: convert to videobuf2 and control framework

2012-09-24 Thread Federico Vaga
This patch re-write the driver and use the videobuf2 interface instead of the old videobuf. Moreover, it uses also the control framework which allows the driver to inherit controls from its subdevice (ADV7180) Signed-off-by: Federico Vaga Acked-by: Giancarlo Asnaghi --- drivers/media/pci

[PATCH v3 4/4] adv7180: remove {query/g_/s_}ctrl

2012-09-24 Thread Federico Vaga
All drivers which use this subdevice use also the control framework. The v4l2_subdev_core_ops operations {query/g_/s_}ctrl are useless because device drivers will inherit controls from this subdevice. Signed-off-by: Federico Vaga --- drivers/media/i2c/adv7180.c | 3 --- 1 file modificato, 3

[PATCH v3 1/4] v4l: vb2: add prepare/finish callbacks to allocators

2012-09-25 Thread Federico Vaga
From: Marek Szyprowski This patch adds support for prepare/finish callbacks in VB2 allocators. These callback are used for buffer flushing. Signed-off-by: Marek Szyprowski Acked-by: Laurent Pinchart Acked-by: Federico Vaga --- drivers/media/v4l2-core/videobuf2-core.c | 11

[PATCH RFC] spidev.c: add sysfs attributes for SPI configuration

2012-11-24 Thread Federico Vaga
; csr0 dd02 spidev spi1.0: setup mode 0, 8 bits/w, 45 Hz max --> 0 spidev spi1.0: 45 Hz (max) Signed-off-by: Federico Vaga --- drivers/spi/spidev.c | 258 +-- 1 file modificato, 208 inserzioni(+), 50 rimozioni(-) diff --git

Re: [PATCH 2/3] [media] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-08-24 Thread Federico Vaga
g because avoid me to use cache sync in my driver. Can I work on these patches? >From this page I understand that these patches are not approved yet https://patchwork.kernel.org/project/linux-media/list/?page=2 -- Federico Vaga -- To unsubscribe from this list: send the line "unsubs

Re: [PATCH 2/3] [media] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-08-24 Thread Federico Vaga
l do the job -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH RFC] [media] adv7180.c: convert to v4l2 control framework

2012-07-11 Thread Federico Vaga
? > > - ret = i2c_smbus_write_byte_data(client, ADV7180_HUE_REG, > > state->hue); + ret = i2c_smbus_write_byte_data(client, > > ADV7180_HUE_REG, > > + ADV7180_HUE_DEF); > > It shouldn't be necessary to initialize the controls since > v4l2_ctrl_handler_setup

Re: [PATCH RFC] [media] adv7180.c: convert to v4l2 control framework

2012-07-11 Thread Federico Vaga
hese lines must be there. Am I wrong? > > Correct. But once sta2x11 is converted to using the control framework, > then these lines can be dropped since no one else is using this > subdevice driver. What do you suggest? I re-submit this patch and when sta2x11 is fixed a I submit a n

[PATCH] [media] adv7180.c: convert to v4l2 control framework

2012-07-11 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/video/adv7180.c | 235 +++-- 1 file changed, 84 insertions(+), 151 deletions(-) diff --git a/drivers/media/video/adv7180.c b/drivers/media/video/adv7180.c index 174bffa..07bb550 100644 --- a/drivers/media/video

Re: Update VIP to videobuf2 and control framework

2012-08-05 Thread Federico Vaga
to be set explicitly. ------ -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: Update VIP to videobuf2 and control framework

2012-08-06 Thread Federico Vaga
hat > > you use struct v4l2_fh. > > ^^ > > Are you using struct v4l2_fh? The version you posted didn't. You need > this anyway to implement control events. Yes I'm using it now, it is part of the extra simplification that I did. -- Federico Vaga -- To unsubscribe from this list: s

[PATCH 3/3 v2] [media] sta2x11_vip: convert to videobuf2 and control framework

2012-08-06 Thread Federico Vaga
Signed-off-by: Federico Vaga Acked-by: Giancarlo Asnaghi --- drivers/media/video/sta2x11_vip.c | 1239 + 1 file modificato, 414 inserzioni(+), 825 rimozioni(-) diff --git a/drivers/media/video/sta2x11_vip.c b/drivers/media/video/sta2x11_vip.c index 4c10205

Re: Update VIP to videobuf2 and control framework

2012-08-06 Thread Federico Vaga
> In that case I need to see your latest version of the source code to > see why it doesn't work. I send it as patch v2 of the previous one -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger

Re: [PATCH 3/3 v2] [media] sta2x11_vip: convert to videobuf2 and control framework

2012-08-06 Thread Federico Vaga
; > No need to set V4L2_FL_USES_V4L2_FH, BTW. That will be set > automatically as soon as v4l2_fh_open is called. I saw "unsigned long flags;" in the header but without reading the comment :) Thank you. I will test it in these days but I think it's all done. -- Federico Vaga -- To

Re: [PATCH RFC] spidev.c: add sysfs attributes for SPI configuration

2012-12-20 Thread Federico Vaga
nderstand; what is the advantage of ioctl through char device? Or what it the issue with sysfs? Thank you very much -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majo

Re: [PATCH v3 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-12-20 Thread Federico Vaga
board, but they cannot help me. -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH RFC] spidev.c: add sysfs attributes for SPI configuration

2012-12-22 Thread Federico Vaga
own programs (echo, cat, hexdump, od) and oscilloscope. I know that I'm not so persuasive :) I can develop a simple program that can write custom tx buf with ioctl -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[PATCH v6 1/2] sta2x11_vip: convert to videobuf2, control framework, file handler

2013-01-23 Thread Federico Vaga
ones from videobuf2 and v4l2_fh Signed-off-by: Federico Vaga Acked-by: Giancarlo Asnaghi --- drivers/media/pci/sta2x11/Kconfig |2 +- drivers/media/pci/sta2x11/sta2x11_vip.c | 1071 +-- 2 file modificati, 432 inserzioni(+), 641 rimozioni(-) diff --git

[PATCH v6 2/2] adv7180: remove {query/g_/s_}ctrl

2013-01-23 Thread Federico Vaga
All drivers which use this subdevice use also the control framework. The v4l2_subdev_core_ops operations {query/g_/s_}ctrl are useless because device drivers will inherit controls from this subdevice. Signed-off-by: Federico Vaga --- drivers/media/i2c/adv7180.c | 3 --- 1 file modificato, 3

Re: [PATCH v3 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2013-01-03 Thread Federico Vaga
> branch of the media-tree? I will do it -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH v3 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2013-01-04 Thread Federico Vaga
On Thursday 03 January 2013 17:13:14 Federico Vaga wrote: > > After all those discussions, I'm ok on adding this new driver, but please > > add a summary of those discussions at the patch description. As I said, > > the reason why this driver is needed is not obvious. So, it ne

Re: [PATCH v3 2/4] videobuf2-dma-streaming: new videobuf2 memory allocator

2013-01-06 Thread Federico Vaga
s soon. -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v4 1/3] videobuf2-dma-contig: user can specify GFP flags

2013-01-06 Thread Federico Vaga
This is useful when you need to specify specific GFP flags during memory allocation (e.g. GFP_DMA). Signed-off-by: Federico Vaga --- drivers/media/v4l2-core/videobuf2-dma-contig.c | 7 ++- include/media/videobuf2-dma-contig.h | 5 + 2 file modificati, 7 inserzioni(+), 5

[PATCH V4 2/3] sta2x11_vip: convert to videobuf2 and control framework

2013-01-06 Thread Federico Vaga
This patch re-write the driver and use the videobuf2 interface instead of the old videobuf. Moreover, it uses also the control framework which allows the driver to inherit controls from its subdevice (ADV7180) Signed-off-by: Federico Vaga Acked-by: Giancarlo Asnaghi --- drivers/media/pci

[PATCH V4 3/3] adv7180: remove {query/g_/s_}ctrl

2013-01-06 Thread Federico Vaga
All drivers which use this subdevice use also the control framework. The v4l2_subdev_core_ops operations {query/g_/s_}ctrl are useless because device drivers will inherit controls from this subdevice. Signed-off-by: Federico Vaga --- drivers/media/i2c/adv7180.c | 3 --- 1 file modificato, 3

Update STA2X11 to videobuf2 and control framework

2012-07-31 Thread Federico Vaga
ny control. I add it to inherit controls from adv7180. -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at

[PATCH 1/3 RFC] [media] adv7180: remove {query/g_/s_}ctrl

2012-07-31 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/video/adv7180.c | 3 --- 1 file modificato, 3 rimozioni(-) diff --git a/drivers/media/video/adv7180.c b/drivers/media/video/adv7180.c index 07bb550..bcc7d60 100644 --- a/drivers/media/video/adv7180.c +++ b/drivers/media/video/adv7180.c @@ -402,9

Update VIP to videobuf2 and control framework

2012-07-31 Thread Federico Vaga
As suggested I moved the Video Buffer Input (VIP) of the STA2X11 board to the videobuf2. This patch series is an RFC. The first patch is just an update to the adv7180 because the VIP (the only user) now use the control framework so query{g_|s_|ctrl} are not necessery. The second patch adds a new

[PATCH 1/3] [media] adv7180: remove {query/g_/s_}ctrl

2012-07-31 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/video/adv7180.c | 3 --- 1 file modificato, 3 rimozioni(-) diff --git a/drivers/media/video/adv7180.c b/drivers/media/video/adv7180.c index 07bb550..bcc7d60 100644 --- a/drivers/media/video/adv7180.c +++ b/drivers/media/video/adv7180.c @@ -402,9

[PATCH 2/3] [media] videobuf2-dma-streaming: new videobuf2 memory allocator

2012-07-31 Thread Federico Vaga
Signed-off-by: Federico Vaga --- drivers/media/video/Kconfig | 6 +- drivers/media/video/Makefile | 1 + drivers/media/video/videobuf2-dma-streaming.c | 187 ++ include/media/videobuf2-dma-streaming.h | 24 4 file

[PATCH 3/3] [media] sta2x11_vip: convert to videobuf2 and control framework

2012-07-31 Thread Federico Vaga
Signed-off-by: Federico Vaga Acked-by: Giancarlo Asnaghi --- drivers/media/video/sta2x11_vip.c | 1134 ++--- 1 file modificato, 410 inserzioni(+), 724 rimozioni(-) diff --git a/drivers/media/video/sta2x11_vip.c b/drivers/media/video/sta2x11_vip.c index 4c10205

Re: [PATCH 1/3] [media] adv7180: remove {query/g_/s_}ctrl

2012-07-31 Thread Federico Vaga
I'm sorry for the email duplication, I press the wrong key on git-send email. Ignore these emails. Sorry -- Federico Vaga -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo inf

Re: Update VIP to videobuf2 and control framework

2012-07-31 Thread Federico Vaga
I use git send-email command to send patches but I think I made a mistake. If something is wrong or confused please tell me and I try to resend all the patches hopefully without mistake. Sorry again. 2012/7/31 Federico Vaga : > As suggested I moved the Video Buffer Input (VIP) of the STA2

Re: Update VIP to videobuf2 and control framework

2012-08-16 Thread Federico Vaga
is the most questionable patch, but if there are not any other comments I will send my three patches for the inclusion. It is summer, time for vacation, so I'll wait for another week or two for critical comments and then I will send patches. -- Federico Vaga -- To unsubscribe from this list

[PATCH 1/2] doc:it_IT: align translation to mainline

2019-07-18 Thread Federico Vaga
The patch translates the following patches in Italian: d9d7c0c497b8 docs: Note that :c:func: should no longer be used 83e8b971f81c sphinx.rst: Add note about code snippets embedded in the text cca5e0b8a430 Documentation: PGP: update for newer HW devices Signed-off-by: Federico Vaga

Re: [PATCH] docs: it_IT: address invalid reference warnings

2020-06-02 Thread Federico Vaga
On Sunday, May 31, 2020 8:56:18 PM CEST Lukas Bulwahn wrote: > Documentation generation warns: > > it_IT/kernel-hacking/hacking.rst: > WARNING: unknown document: ../core-api/symbol/namespaces > > it_IT/process/5.Posting.rst: > WARNING: undefined label: it_email_clients > >

Re: [PATCH] docs: it_IT: address invalid reference warnings

2020-06-06 Thread Federico Vaga
-namespace.rst and move the link again On Tuesday, June 2, 2020 10:37:21 AM CEST Federico Vaga wrote: > On Sunday, May 31, 2020 8:56:18 PM CEST Lukas Bulwahn wrote: > > Documentation generation warns: > > it_IT/kernel-hacking/hacking.rst: > > WARNING: unknown document: ../core-

kernFS/sysfs: mmap and vm_operations close

2017-09-26 Thread Federico Vaga
t;cannot" keep the device memory mapped when nobody is using it, that's why I would like to be able to use vm_ops->close(). In general, I would like to run my routine that release resources when the user does `munmap` or `close` thank you very much :) -- Federico Vaga http://www.federicovaga.it

Re: kernFS/sysfs: mmap and vm_operations close

2017-09-27 Thread Federico Vaga
On Tuesday, 26 September 2017 23:31:29 CEST Greg Kroah-Hartman wrote: > On Tue, Sep 26, 2017 at 05:50:55PM +0200, Federico Vaga wrote: > > Hello, > > > > I'm writing a sysfs binary attribute that makes use of the `mmap` > > operation. > Eeek, why? What are you usin

Re: kernFS/sysfs: mmap and vm_operations close

2017-09-27 Thread Federico Vaga
On Wednesday, 27 September 2017 09:45:51 CEST Greg Kroah-Hartman wrote: > On Wed, Sep 27, 2017 at 08:41:12AM +0200, Federico Vaga wrote: > > On Tuesday, 26 September 2017 23:31:29 CEST Greg Kroah-Hartman wrote: > > > On Tue, Sep 26, 2017 at 05:50:55PM +0200, Federico Vaga wrote:

[PATCH] doc:it_IT: translations in process/

2019-07-12 Thread Federico Vaga
This patch add translations for: - programming-languages - kernel-docs (It is better to not translate this since English is a requirement to get something useful out of it) Signed-off-by: Federico Vaga --- .../translations/it_IT/process/index.rst | 1 + .../it_IT/process/kernel-docs.rst

Re: [PATCH] doc:lock: remove reference to clever use of read-write lock

2019-09-02 Thread Federico Vaga
On Monday, September 2, 2019 8:10:10 PM CEST Ingo Molnar wrote: > * Federico Vaga wrote: > > On Saturday, August 31, 2019 4:43:44 PM CEST Jonathan Corbet wrote: > > > On Sat, 31 Aug 2019 15:41:16 +0200 > > > > > > Federico Vaga wrote: > > > > sev

Re: [PATCH] MAINTAINERS: Remove FMC subsystem

2019-08-13 Thread Federico Vaga
On Tuesday, August 13, 2019 8:15:47 AM CEST Denis Efremov wrote: > Cleanup MAINTAINERS from FMC record since the subsystem was removed. > > Cc: Linus Walleij > Cc: Federico Vaga > Cc: Pat Riehecky > Fixes: 6a80b30086b8 ("fmc: Delete the FMC subsystem") > Signed-o

[PATCH] i2c: ocores: use request_any_context_irq() to register IRQ handler

2019-08-22 Thread Federico Vaga
implementations (nested threads). For this reason, it is safer to use `request_any_context_irq()` to avoid errors at probe time. Signed-off-by: Federico Vaga --- drivers/i2c/busses/i2c-ocores.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/i2c/busses/i2c-ocores.c

[PATCH] doc:it_IT: align Italian translation

2020-04-30 Thread Federico Vaga
quot;docs: locking: Drop :c:func: throughout") commit 6adb7755996f ("docs: locking: Add 'need' to hardirq section") Signed-off-by: Federico Vaga --- .../it_IT/doc-guide/kernel-doc.rst| 25 ++- .../it_IT/kernel-hacking/hacking.rst | 18 ++ ...

Re: [PATCH 1/1] doc:it_IT: process: coding-style.rst: Correct __maybe_unused compiler label

2020-07-16 Thread Federico Vaga
Of course, you are right! Thanks On 2020-07-15 14:23, Lee Jones wrote: Flag is __maybe_unused, not __maybe_used. Cc: Federico Vaga Cc: Jonathan Corbet Cc: linux-...@vger.kernel.org Cc: clang-built-li...@googlegroups.com Signed-off-by: Lee Jones --- Documentation/translations/it_IT/process

Re: [PATCH v2 11/22] docs: it: license-rules.rst: get rid of warnings

2019-06-04 Thread Federico Vaga
cumentation/translations/it_IT/process/license-rules.rst:341: WARNING: > Unexpected indentation. > Documentation/translations/it_IT/process/license-rules.rst:305: WARNING: > Unknown target name: "metatags". > > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Feder

Re: [PATCH] fmc: Delete the FMC subsystem

2019-06-11 Thread Federico Vaga
Well I do not know if it make sense to make it stronger with: Signed-off-by: Federico Vaga As you want On Monday, June 10, 2019 4:18:09 PM CEST Linus Walleij wrote: > The FMC subsystem was created in 2012 with the ambition to > drive development of drivers for this hardware up

Re: [PATCH] Replace HTTP links with HTTPS ones: Documentation/translations/it_IT

2020-06-10 Thread Federico Vaga
On Tuesday, June 9, 2020 10:12:41 PM CEST Alexander A. Klimov wrote: > Rationale: > Reduces attack surface on kernel devs opening the links for MITM > as HTTPS traffic is much harder to manipulate. > > Deterministic algorithm: > For each file: > For each line: > If doesn't contain

Re: DMA Engine: Transfer From Userspace

2020-06-21 Thread Federico Vaga
On Sun, Jun 21, 2020 at 12:54:57PM +0530, Vinod Koul wrote: On 19-06-20, 16:31, Dave Jiang wrote: On 6/19/2020 3:47 PM, Federico Vaga wrote: > Hello, > > is there the possibility of using a DMA engine channel from userspace? > > Something like: > - configure DMA using io

Re: DMA Engine: Transfer From Userspace

2020-06-21 Thread Federico Vaga
On Sun, Jun 21, 2020 at 10:45:04PM +0200, Richard Weinberger wrote: On Sun, Jun 21, 2020 at 10:37 PM Federico Vaga wrote: >Federico, what use case do you have in mind? Userspace drivers Is using vfio an option? I do not know the subsystem. Could be, thanks for the suggestion I will h

Re: DMA Engine: Transfer From Userspace

2020-06-22 Thread Federico Vaga
On Mon, Jun 22, 2020 at 10:17:33AM +0530, Vinod Koul wrote: On 21-06-20, 22:36, Federico Vaga wrote: On Sun, Jun 21, 2020 at 12:54:57PM +0530, Vinod Koul wrote: > On 19-06-20, 16:31, Dave Jiang wrote: > > > > > > On 6/19/2020 3:47 PM, Federico Va

Re: DMA Engine: Transfer From Userspace

2020-06-22 Thread Federico Vaga
On Sat, Jun 20, 2020 at 12:47:16AM +0200, Federico Vaga wrote: Hello, is there the possibility of using a DMA engine channel from userspace? Something like: - configure DMA using ioctl() (or whatever configuration mechanism) - read() or write() to trigger the transfer Let me add one more

Re: DMA Engine: Transfer From Userspace

2020-06-22 Thread Federico Vaga
On Mon, Jun 22, 2020 at 02:01:12PM +0200, Thomas Ruf wrote: On 22 June 2020 at 06:47 Vinod Koul wrote: On 21-06-20, 22:36, Federico Vaga wrote: > On Sun, Jun 21, 2020 at 12:54:57PM +0530, Vinod Koul wrote: > > On 19-06-20, 16:31, Dave Jiang wrote: > > > > > >

DMA Engine: Transfer From Userspace

2020-06-19 Thread Federico Vaga
Hello, is there the possibility of using a DMA engine channel from userspace? Something like: - configure DMA using ioctl() (or whatever configuration mechanism) - read() or write() to trigger the transfer -- Federico Vaga [CERN BE-CO-HT]

[PATCH] doc:it_IT: add symbol-namespace translation

2020-06-14 Thread Federico Vaga
- add complete translation of symbol-namespaces.rst - fix references to this page within the italian translation - add document to main indexes Signed-off-by: Federico Vaga --- .../translations/it_IT/core-api/index.rst | 18 ++ .../it_IT/core-api/symbol-namespaces.rst | 166

Re: [PATCH 22/29] docs: it_IT: add two missing references

2020-06-15 Thread Federico Vaga
It is already fixed by https://lkml.org/lkml/2020/5/31/260 On Monday, June 15, 2020 8:47:01 AM CEST Mauro Carvalho Chehab wrote: > there are missing references causing Sphinx warnings: > > Documentation/translations/it_IT/process/submitting-patches.rst:384: > WARNING: undefined label:

Re: [PATCH v6 0/5] i2c: ocores: improvements

2019-02-14 Thread Federico Vaga
On Thursday, February 14, 2019 4:07:33 AM CET Andrew Lunn wrote: > On Mon, Feb 11, 2019 at 05:49:08PM +0100, Federico Vaga wrote: > > This patch set provides improvements to the i2c-ocore driver. > > > > [V5 -> V6] > > - remove redundant code introduced in V5

[PATCH v7 1/5] i2c: ocores: stop transfer on timeout

2019-02-14 Thread Federico Vaga
a new function to handle timeout - modified the current ocores_process() function in order to be protected by the new spinlock Like this it is obvious at first sight that this locking serializes the execution of ocores_process() and ocores_process_timeout() Signed-off-by: Federico Vaga Reviewed

[PATCH v7 4/5] i2c: ocores: add SPDX tag

2019-02-14 Thread Federico Vaga
It adds the SPDX tag and it removes the old text about the GPLv2. Signed-off-by: Federico Vaga Reviewed-by: Andrew Lunn --- drivers/i2c/busses/i2c-ocores.c | 5 + include/linux/platform_data/i2c-ocores.h | 5 + 2 files changed, 2 insertions(+), 8 deletions(-) diff --git

[PATCH v7 2/5] i2c: ocores: do not handle IRQ if IF is not set

2019-02-14 Thread Federico Vaga
If the Interrupt Flag (IF) is not set, we should not handle the IRQ: - the line can be shared with other devices - it can be a spurious interrupt To avoid reading twice the status register, the ocores_process() function expects it to be read by the caller. Signed-off-by: Federico Vaga Acked

[PATCH v7 5/5] i2c: ocores: checkpatch fixes

2019-02-14 Thread Federico Vaga
Miscellaneous style fixes from checkpatch Signed-off-by: Federico Vaga Reviewed-by: Andrew Lunn --- drivers/i2c/busses/i2c-ocores.c | 29 ++--- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/drivers/i2c/busses/i2c-ocores.c b/drivers/i2c/busses/i2c

[PATCH v7 3/5] i2c: ocores: add polling interface

2019-02-14 Thread Federico Vaga
ted in ocores_wait() mostly not looping at all. But for reading an 4K AT24 EEPROM, it increased the read time by 10ms, from 424ms to 434ms. So we should probably keep with 8. Signed-off-by: Federico Vaga Tested-by: Andrew Lunn --- drivers/i2c/busses/i2c-ocores.c |

[PATCH v7 0/5] i2c: ocores: improvements

2019-02-14 Thread Federico Vaga
This patch set provides improvements to the i2c-ocore driver. [V6 -> V7] - restore accidentally removed 'reviewed-by' tags in changelog [V5 -> V6] - remove redundant code introduced in V5 (double read control register) [V4 -> V5] - deterministic status of IEN bit in register "CONTROL" at the

report: scripts: checkpatch: Spell Checker Does Not Run with '-f'

2019-02-14 Thread Federico Vaga
if there are other similar cases. I do not know Perl, so I cannot investigate more, but I have a practical example. I have this simple patch applied on my tree that introduces a spell error: From: Federico Vaga Date: Thu, 14 Feb 2019 13:29:39 +0100 Subject: [PATCH] script: checkpatch: buggy(?) output

Re: report: scripts: checkpatch: Spell Checker Does Not Run with '-f'

2019-02-14 Thread Federico Vaga
On Thursday, February 14, 2019 3:44:55 PM CET Joe Perches wrote: > On Thu, 2019-02-14 at 13:48 +0100, Federico Vaga wrote: > > Hello, > > > > Recently I have produce a couple of patches but I get different warnings > > if I run checkpatch on the file (-f) or

Re: report: scripts: checkpatch: Spell Checker Does Not Run with '-f'

2019-02-14 Thread Federico Vaga
On Thursday, February 14, 2019 4:19:36 PM CET Joe Perches wrote: > On Thu, 2019-02-14 at 16:03 +0100, Federico Vaga wrote: > > On Thursday, February 14, 2019 3:44:55 PM CET Joe Perches wrote: > > > On Thu, 2019-02-14 at 13:48 +0100, Federico Vaga wrote: > > > > Hell

<    1   2   3   4   5   >