lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+V-a8uVt5GD=XZuCubFf8ZFacxPLofUdU3HKNZsbU4aQr5X7w@mail.gmail.com>
Date:   Wed, 24 Jul 2019 11:47:17 +0100
From:   "Lad, Prabhakar" <prabhakar.csengg@...il.com>
To:     Arnd Bergmann <arnd@...db.de>
Cc:     Linux Media Mailing List <linux-media@...r.kernel.org>,
        Mauro Carvalho Chehab <mchehab@...nel.org>,
        Laurent Pinchart <laurent.pinchart@...asonboard.com>,
        Sekhar Nori <nsekhar@...com>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        Hans Verkuil <hverkuil-cisco@...all.nl>,
        Sakari Ailus <sakari.ailus@...ux.intel.com>,
        LKML <linux-kernel@...r.kernel.org>,
        OSUOSL Drivers <devel@...verdev.osuosl.org>
Subject: Re: [PATCH] media: staging: davinci: remove vpfe driver

On Tue, Jul 23, 2019 at 11:46 AM Arnd Bergmann <arnd@...db.de> wrote:
>
> The davinci_vpfe driver was merged into staging back in 2012 by Manjunath
> Hadli from TI, with a long TODO list.
>
> For all I can tell, since then it has only seen fixes for compile-time
> issues and global cleanups, but nobody has actually worked on the items
> on the TODO list.
>
> To make things worse, the driver in its current form is incompatible with
> the platform code in arch/arm/mach-davinci, i.e. the driver expects to
> get its platform_data passed to the device as a 'struct vpfe_config',
> but uses a differnet definition for that structure compared to what the

s/differnet/different

> platform uses.
>
> Finally, there is another driver for the same device in
> drivers/media/platform/davinci/vpfe_capture.c. From all I can tell, the
> staging version was originally a copy of a more featureful driver in TI's
> downstream kernels. However, that kernel no longer supports dm365 after
> linux-2.6.37, and the mainline version moved in a different direction.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> ---
>  drivers/staging/media/Kconfig                 |    2 -
>  drivers/staging/media/Makefile                |    1 -
>  drivers/staging/media/davinci_vpfe/Kconfig    |   13 -
>  drivers/staging/media/davinci_vpfe/Makefile   |   11 -
>  drivers/staging/media/davinci_vpfe/TODO       |   38 -
>  .../media/davinci_vpfe/davinci-vpfe-mc.txt    |  154 --
>  .../media/davinci_vpfe/davinci_vpfe_user.h    | 1287 ----------
>  .../staging/media/davinci_vpfe/dm365_ipipe.c  | 1852 ---------------
>  .../staging/media/davinci_vpfe/dm365_ipipe.h  |  174 --
>  .../media/davinci_vpfe/dm365_ipipe_hw.c       | 1038 --------
>  .../media/davinci_vpfe/dm365_ipipe_hw.h       |  556 -----
>  .../media/davinci_vpfe/dm365_ipipeif.c        | 1070 ---------
>  .../media/davinci_vpfe/dm365_ipipeif.h        |  228 --
>  .../media/davinci_vpfe/dm365_ipipeif_user.h   |   90 -
>  .../staging/media/davinci_vpfe/dm365_isif.c   | 2097 -----------------
>  .../staging/media/davinci_vpfe/dm365_isif.h   |  200 --
>  .../media/davinci_vpfe/dm365_isif_regs.h      |  291 ---
>  .../media/davinci_vpfe/dm365_resizer.c        | 1995 ----------------
>  .../media/davinci_vpfe/dm365_resizer.h        |  241 --
>  drivers/staging/media/davinci_vpfe/vpfe.h     |   83 -
>  .../media/davinci_vpfe/vpfe_mc_capture.c      |  716 ------
>  .../media/davinci_vpfe/vpfe_mc_capture.h      |   90 -
>  .../staging/media/davinci_vpfe/vpfe_video.c   | 1646 -------------
>  .../staging/media/davinci_vpfe/vpfe_video.h   |  150 --
>  24 files changed, 14023 deletions(-)
>  delete mode 100644 drivers/staging/media/davinci_vpfe/Kconfig
>  delete mode 100644 drivers/staging/media/davinci_vpfe/Makefile
>  delete mode 100644 drivers/staging/media/davinci_vpfe/TODO
>  delete mode 100644 drivers/staging/media/davinci_vpfe/davinci-vpfe-mc.txt
>  delete mode 100644 drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h
>  delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_ipipe.c
>  delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_ipipe.h
>  delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.c
>  delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_ipipe_hw.h
>  delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_ipipeif.c
>  delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_ipipeif.h
>  delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_ipipeif_user.h
>  delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_isif.c
>  delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_isif.h
>  delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_isif_regs.h
>  delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_resizer.c
>  delete mode 100644 drivers/staging/media/davinci_vpfe/dm365_resizer.h
>  delete mode 100644 drivers/staging/media/davinci_vpfe/vpfe.h
>  delete mode 100644 drivers/staging/media/davinci_vpfe/vpfe_mc_capture.c
>  delete mode 100644 drivers/staging/media/davinci_vpfe/vpfe_mc_capture.h
>  delete mode 100644 drivers/staging/media/davinci_vpfe/vpfe_video.c
>  delete mode 100644 drivers/staging/media/davinci_vpfe/vpfe_video.h
>

Acked-by: Lad, Prabhakar <prabhakar.csengg@...il.com>

Regards,
--Prabhakar Lad

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ