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>] [day] [month] [year] [list]
Message-ID: <bd1184c2-6d5a-a12b-f0e6-55537f6965b6@bealr.fr>
Date:   Wed, 22 May 2019 12:11:44 +0200
From:   Romain BEAL <ml@...lr.fr>
To:     linux-kernel@...r.kernel.org
Subject: IMX6 error binding ipu on vdic

Hi,

Tested on gateworks ventana and variscite dart platform :
Unable to bind ipu1_csi0 on ipu1_vdic AND ipu2_csi1 on ipu2_vdic.

Steps to reproduce on ventana board :

$ media_ctl -p
- entity 53: ipu1_csi0 (3 pads, 4 links)
              type V4L2 subdev subtype Unknown flags 0
              device node name /dev/v4l-subdev8
         pad0: Sink
                 [fmt:UYVY8_2X8/640x480@...0 field:none 
colorspace:smpte170m xfer:709 ycbcr:601 quantization:lim-range
                  crop.bounds:(0,0)/640x480
                  crop:(0,0)/640x480
                  compose.bounds:(0,0)/640x480
                  compose:(0,0)/640x480]
                 <- "ipu1_csi0_mux":5 []
         pad1: Source
                 [fmt:AYUV8_1X32/640x480@...0 field:none 
colorspace:smpte170m xfer:709 ycbcr:601 quantization:lim-range]
                 -> "ipu1_ic_prp":0 []
                 -> "ipu1_vdic":0 []
         pad2: Source
                 [fmt:AYUV8_1X32/640x480@...0 field:none 
colorspace:smpte170m xfer:709 ycbcr:601 quantization:lim-range]
                 -> "ipu1_csi0 capture":0 []


- entity 1: ipu1_vdic (3 pads, 3 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev0
         pad0: Sink
                 [fmt:AYUV8_1X32/640x480@...0 field:none 
colorspace:smpte170m xfer:709 ycbcr:601 quantization:lim-range]
                 <- "ipu1_csi0":1 []
                 <- "ipu1_csi1":1 []
         pad1: Sink
                 [fmt:UYVY8_2X8/640x480@...0 field:none 
colorspace:smpte170m xfer:709 ycbcr:601 quantization:lim-range]
         pad2: Source
                 [fmt:AYUV8_1X32/640x480@...0 field:none 
colorspace:smpte170m xfer:709 ycbcr:601 quantization:lim-range]
                 -> "ipu1_ic_prp":0 []



$ media-ctl -l "'ipu1_csi0':1 -> 'ipu1_vdic':0[1]" -v
Opening media device /dev/media0
Enumerating entities
Found 19 entities
Enumerating pads and links
Setting up link 53:1 -> 1:0 [1]
Opening media device /dev/media0
media_setup_link: Unable to setup link (Invalid argument)

  'ipu1_csi0':1 -> 'ipu1_vdic':0[1]
                                  ^
Unable to parse link: Invalid argument (22)


Others links works great.
The ipu -> vdic bind worked on 4.14

Is it a kernel bug?

---
Romain BEAL

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ