ing the senvcfg CSR within the guest, so that extension
> cannot be hidden from the guest without intercepting writes to the CSR.
>
> Signed-off-by: Samuel Holland
LGTM.
Reviewed-by: Anup Patel
Regards,
Anup
> ---
>
> Changes in v5:
> - Do not allow Smnpm to be disabled, as
Hi Alex,
On Thu, Aug 11, 2016 at 9:46 AM, Alex Williamson
wrote:
> On Thu, 11 Aug 2016 09:30:19 +0530
> Anup Patel wrote:
>
>> Hi Arnd,
>>
>> On Wed, Aug 10, 2016 at 9:25 PM, Arnd Bergmann wrote:
>> > On Monday, August 8, 2016 11:22:29 AM CEST Anup Patel wr
Hi Arnd,
On Wed, Aug 10, 2016 at 9:25 PM, Arnd Bergmann wrote:
> On Monday, August 8, 2016 11:22:29 AM CEST Anup Patel wrote:
>> The goal of this patchset is to improve UIO framework and UIO dmem
>> driver to allow cache-coherent DMA accesses from user-space.
>>
>> Th
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 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a
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 deletions(-)
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
index
formatted string for dmem_sizes:
a) UIO dmem device with 3 dynamic regions:
uio_dmem_genirq.dmem_sizes=abc:4K,16K,4M
b) Two UIO dmem devices with different number of dynamic regions:
uio_dmem_genirq.dmem_sizes=abc:4K,16K,4M;xyz:8K
Signed-off-by: Jan Viktorin
Signed-off-by: Anup Patel
---
drivers
: Ankit Jindal
Signed-off-by: Anup Patel
---
drivers/uio/uio.c | 16 +---
include/linux/uio_driver.h | 9 +
2 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
index f2729b7..0e53076 100644
--- a/drivers/uio/uio.c
+++ b
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
---
drivers/uio/uio_dmem_genirq.c | 9
From: Jan Viktorin
We can simplify handling of platform_get_irq into one place as it is
acceptable to see UIO_IRQ_NONE instead of a valid IRQ number. Some
devices don't have or don't need any interrupt to be handled. The
same change has been already done for uio_pdrv_genirq.
Signed-off-by: Jan V
pgprot_noncached().
This patch introduces a new UIO mem region type UIO_MEM_DEVICE to
represent device registers/memory. The UIO device drivers should
prefer this new UIO mem region type for memory mapped device registers.
Signed-off-by: Anup Patel
---
drivers/uio/uio.c | 4
include
useless. Fix this by computing dmem_region_start from the uiomem
which points to the last used UIO mapping.
Fixes: 0a0c3b5a24bd ("Add new uio device for dynamic memory allocation")
Signed-off-by: Jan Viktorin
Signed-off-by: Anup Patel
Cc: linux-stable
---
drivers/uio/uio_dmem_genirq.c
()
- Get UIO dmem dynamic region details as module parameter instead
of getting it from DT node
Ankit Jindal (3):
uio: code style cleanup
uio: Add new UIO_MEM_PHYS_CACHE type for mem regions
Documentation: Update documentation for UIO_MEM_PHYS_CACHE and
UIO_MEM_DEVICE
Anup Patel (2
parameter instead
of getting it from DT node
Ankit Jindal (3):
uio: code style cleanup
uio: Add new UIO_MEM_PHYS_CACHE type for mem regions
Documentation: Update documentation for UIO_MEM_PHYS_CACHE and
UIO_MEM_DEVICE
Anup Patel (2):
uio: Add new UIO_MEM_DEVICE type for mem regions
pgprot_noncached().
This patch introduces a new UIO mem region type UIO_MEM_DEVICE to
represent device registers/memory. The UIO device drivers should
prefer this new UIO mem region type for memory mapped device registers.
Signed-off-by: Anup Patel
---
drivers/uio/uio.c | 4
include
formatted string for dmem_sizes:
a) UIO dmem device with 3 dynamic regions:
uio_dmem_genirq.dmem_sizes=abc:4K,16K,4M
b) Two UIO dmem devices with different number of dynamic regions:
uio_dmem_genirq.dmem_sizes=abc:4K,16K,4M;xyz:8K
Signed-off-by: Jan Viktorin
Signed-off-by: Anup Patel
---
drivers
From: Jan Viktorin
We can simplify handling of platform_get_irq into one place as it is
acceptable to see UIO_IRQ_NONE instead of a valid IRQ number. Some
devices don't have or don't need any interrupt to be handled. The
same change has been already done for uio_pdrv_genirq.
Signed-off-by: Jan V
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
---
drivers/uio/uio_dmem_genirq.c | 9
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 deletions(-)
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
index
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 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a
: Ankit Jindal
Signed-off-by: Anup Patel
---
drivers/uio/uio.c | 16 +---
include/linux/uio_driver.h | 9 +
2 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
index f2729b7..0e53076 100644
--- a/drivers/uio/uio.c
+++ b
useless. Fix this by computing dmem_region_start from the uiomem
which points to the last used UIO mapping.
Fixes: 0a0c3b5a24bd ("Add new uio device for dynamic memory allocation")
Signed-off-by: Jan Viktorin
Signed-off-by: Anup Patel
Cc: linux-stable
---
drivers/uio/uio_dmem_genirq.c
On Fri, Jul 15, 2016 at 10:22 PM, Mark Rutland wrote:
> On Fri, Jul 15, 2016 at 09:57:28PM +0530, Anup Patel wrote:
>> On Fri, Jul 15, 2016 at 6:58 PM, Mark Rutland wrote:
>> > On Fri, Jul 15, 2016 at 02:34:02PM +0530, Anup Patel wrote:
>> >> +static char uio_of
On Fri, Jul 15, 2016 at 6:58 PM, Mark Rutland wrote:
> [adding devicetree list]
>
> On Fri, Jul 15, 2016 at 02:34:02PM +0530, Anup Patel wrote:
>> From: Jan Viktorin
>>
>> The uio_dmem_genirq works in a similar ways as uio_pdrv_genirq now.
>>
>> It accept
On Fri, Jul 15, 2016 at 3:15 PM, Russell King - ARM Linux
wrote:
> On Fri, Jul 15, 2016 at 02:34:02PM +0530, Anup Patel wrote:
>> +static int uio_dmem_genirq_alloc_platdata(struct platform_device *pdev)
>> +{
>> + struct uio_dmem_genirq_pdata pdata;
>>
: Ankit Jindal
Signed-off-by: Anup Patel
---
drivers/uio/uio.c | 16 +---
include/linux/uio_driver.h | 9 +
2 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
index f2729b7..0e53076 100644
--- a/drivers/uio/uio.c
+++ b
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 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a
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 deletions(-)
diff --git a/drivers/uio/uio.c b/drivers/uio/uio.c
index
From: Jan Viktorin
We can simplify handling of platform_get_irq into one place as it is
acceptable to see UIO_IRQ_NONE instead of a valid IRQ number. Some
devices don't have or don't need any interrupt to be handled. The
same change has been already done for uio_pdrv_genirq.
Signed-off-by: Jan V
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
---
drivers/uio/uio_dmem_genirq.c | 9
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 regions and makes
them usel
will be
used to specify number of dynamic regions in UIO DT node.
4) of_dmem_sizes_prop: This is name of OF property which will be
used to specify sizes of each dynamic regions in UIO DT node.
Signed-off-by: Jan Viktorin
Signed-off-by: Anup Patel
---
drivers/uio/uio_dmem_genirq.c | 113
pgprot_noncached().
This patch introduces a new UIO mem region type UIO_MEM_DEVICE to
represent device registers/memory. The UIO device drivers should
prefer this new UIO mem region type for memory mapped device registers.
Signed-off-by: Anup Patel
---
drivers/uio/uio.c | 4
include
documentation for UIO_MEM_PHYS_CACHE and
UIO_MEM_DEVICE
Anup Patel (2):
uio: Add new UIO_MEM_DEVICE type for mem regions
uio: Use new memtypes in uio_dmem_genirq
Jan Viktorin (3):
uio: fix dmem_region_start computation
uio: UIO_IRQ_NONE is a valid option for uioinfo->irq
uio: b
On Fri, Feb 12, 2016 at 7:42 AM, Florian Fainelli wrote:
> As is now common in a lot of organization having an internal code review
> process (be it through Gerritt or other tools), patches extracted from
> this review process and submitted to public mailing-lists will have
> pre-existing Reviewed
34 matches
Mail list logo