Re: [PATCH v7 00/17] wilc1000: move out of staging

2020-06-30 Thread Ajay.Kathat
On 29/06/20 6:56 pm, Pali Rohár wrote: > EXTERNAL EMAIL: Do not click links or open attachments unless you know the > content is safe > > On Tuesday 23 June 2020 11:00:04 ajay.kat...@microchip.com wrote: >> This patch series is to review and move wilc1000 driver out of staging. >> Most of the

[PATCH v2 3/4] staging: kpc2000: kpc_dma: Convert get_user_pages() --> pin_user_pages()

2020-06-30 Thread Souptick Joarder
In 2019, we introduced pin_user_pages*() and now we are converting get_user_pages*() to the new API as appropriate. [1] & [2] could be referred for more information. This is case 2 as per document [1]. [1] Documentation/core-api/pin_user_pages.rst [2] "Explicit pinning of user-space pages":

[PATCH v2 2/4] staging: kpc2000: kpc_dma: Convert set_page_dirty() --> set_page_dirty_lock()

2020-06-30 Thread Souptick Joarder
First, convert set_page_dirty() to set_page_dirty_lock() Second, there is an interval in there after set_page_dirty() and before put_page(), in which the device could be running and setting pages dirty. Moving set_page_dirty_lock() after dma_unmap_sg(). Signed-off-by: Souptick Joarder

[PATCH v2 0/4] staging: kpc2000: kpc_dma: Few clean up and Convert to pin_user_pages()

2020-06-30 Thread Souptick Joarder
This series contains few clean up, minor bug fixes and Convert get_user_pages() to pin_user_pages(). I'm compile tested this, but unable to run-time test, so any testing help is much appriciated. v2: Address Dan's review comments to return -ERRNO for partially mapped pages and

[PATCH v2 4/4] staging: kpc2000: kpc_dma: Remove additional goto statements

2020-06-30 Thread Souptick Joarder
As 3 goto level referring to same common code, those can be accomodated with a single goto level and renameing it to unpin_pages. Set the -ERRNO when returning partial mapped pages in more appropriate place. Signed-off-by: Souptick Joarder Cc: John Hubbard Cc: Bharath Vedartham Cc: Dan

[PATCH v2 1/4] staging: kpc2000: kpc_dma: Unpin partial pinned pages

2020-06-30 Thread Souptick Joarder
There is a bug, when get_user_pages() failed but partially pinned pages are not unpinned and positive numbers are returned instead of -ERRNO. Fixed it. Also, int is more appropriate type for rv. Changed it. Signed-off-by: Souptick Joarder Cc: John Hubbard Cc: Dan Carpenter Cc: Bharath

[PATCH v4] staging: wfx: Get descriptors for GPIOs

2020-06-30 Thread Linus Walleij
The code has the functionality to insert the GPIO lines using the global GPIO numbers through module parameters. As we are clearly deprecating the use of global GPIO numbers look up the GPIO descriptors from the device instead. This usually falls back to device hardware descriptions using e.g.

Re: [PATCH v7 31/36] staging: tegra-vde: fix common struct sg_table related issues

2020-06-30 Thread Marek Szyprowski
On 21.06.2020 06:00, Dmitry Osipenko wrote: > В Fri, 19 Jun 2020 12:36:31 +0200 > Marek Szyprowski пишет: > >> The Documentation/DMA-API-HOWTO.txt states that the dma_map_sg() >> function returns the number of the created entries in the DMA address >> space. However the subsequent calls to the >>

Re: [PATCH v2 4/4] staging: kpc2000: kpc_dma: Remove additional goto statements

2020-06-30 Thread Dan Carpenter
On Tue, Jun 30, 2020 at 01:22:19PM +0530, Souptick Joarder wrote: > As 3 goto level referring to same common code, those can be > accomodated with a single goto level and renameing it to > unpin_pages. Set the -ERRNO when returning partial mapped > pages in more appropriate place. > >

Re: [PATCH] media: ipu3: add a module to probe sensors via ACPI

2020-06-30 Thread Jordan Hand
On 5/26/20 7:31 AM, Heikki Krogerus wrote: On Fri, May 22, 2020 at 11:57:36AM +0200, Mauro Carvalho Chehab wrote: Em Thu, 21 May 2020 11:00:19 +0300 Andy Shevchenko escreveu: +Cc: Heikki (swnode expert) On Wed, May 20, 2020 at 2:19 PM Mauro Carvalho Chehab wrote: Em Wed, 20 May 2020

Re: [PATCH v7 31/36] staging: tegra-vde: fix common struct sg_table related issues

2020-06-30 Thread Dmitry Osipenko
30.06.2020 13:07, Marek Szyprowski пишет: > On 21.06.2020 06:00, Dmitry Osipenko wrote: >> В Fri, 19 Jun 2020 12:36:31 +0200 >> Marek Szyprowski пишет: >> >>> The Documentation/DMA-API-HOWTO.txt states that the dma_map_sg() >>> function returns the number of the created entries in the DMA address

[driver-core:readfile] BUILD SUCCESS c3eacdd9fcdc9fb16844622ae807083cf1f78cb3

2020-06-30 Thread kernel test robot
rhel-kconfig powerpc allmodconfig powerpc allnoconfig i386 randconfig-a001-20200630 i386 randconfig-a003-20200630 i386 randconfig-a002-20200630 i386 randconfig-a004-20200630 i386

[staging:staging-testing] BUILD SUCCESS 41843ff0ece111515fc1913e4e5295fa398c5d00

2020-06-30 Thread kernel test robot
rhel-kconfig powerpc allmodconfig i386 randconfig-a001-20200630 i386 randconfig-a003-20200630 i386 randconfig-a002-20200630 i386 randconfig-a004-20200630 i386 randconfig-a005-20200630 i386