Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3388422pxb; Mon, 1 Nov 2021 12:53:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWcrwaIy34fczXUSccapq+2PKo1/3PHE5fhjsYGMff2OnFolnTkXJbCaDnQn+r3zkcJQoK X-Received: by 2002:a05:6638:1352:: with SMTP id u18mr7368415jad.104.1635796428254; Mon, 01 Nov 2021 12:53:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635796428; cv=none; d=google.com; s=arc-20160816; b=voU2OGKEJFIiPnNhlHN2OrAJV8nQJrJs2JcoyEsl/N++33D/BrQOZy54lH6lXspQNK I648jV2o0pyb6UmjiYREm2juaPHJ7nKd7k7Ld80QTOFsGWeUw8aF20zigGaAbnos/16J c8W/mPJsF9fzOE5da6hOmmwQzxIlXzFl088QlaiQFZ5spR1S+Rm2FRb5opNmATlqzp55 a9EwuKeNFIYQSsiKrtMe1yXeFzbutRccxc3UIs+3P8Sc3xFxWv2jUrV3UaqnvT7Tatcr RiJDBqfLGgusXAb0hE5ZAD+zU6twMHRnViAcCtNsqfZ7UqeE6ckjwtC0Ku4a+zGkCF6T jcEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=uo0myOPmex77ZheHOc5fgFaOVvECJMd4nJSYqqf6SIY=; b=e+nxpVpf8CUjhqGMcg8y1s5MGZXCVOqHaBp6aMTGNu79Vm2ovIfmQCLFKj1YYFFPns Tq/U6JfQzdBI4YpxnPY9CpsjhTN9omesmWxQn5kNx1QLClVMIlKJAJdLVX7jJQi6MbvL wl+7Diyny53TpiP+N/SnsL/1n76e+uJ4WM/iL4z3vUtUlHB4O3Vmv4xeW0Wsd3CvTksy ux31vqA+T5kjSY7QtNBvaxW0bQ7kizGtCoGWO/wHCKJTV7JT3oks+uVnVNqGSrZJNGy9 s+6UElJ+tYxuJ5BtS5U7/b1CIF9k79vIhhePPP0RjlajXH7ixtnRsolOh29RXbLcI79R wAVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FSeySy6a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g14si28826264ioo.113.2021.11.01.12.53.35; Mon, 01 Nov 2021 12:53:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FSeySy6a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229930AbhKATzO (ORCPT + 99 others); Mon, 1 Nov 2021 15:55:14 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:47765 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229560AbhKATzI (ORCPT ); Mon, 1 Nov 2021 15:55:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635796354; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=uo0myOPmex77ZheHOc5fgFaOVvECJMd4nJSYqqf6SIY=; b=FSeySy6a3kQiMhmiHUUbcKgXkxrVvWl3OOxLznZNbgebc5AdPX9Rb5ZUi+PjIuJSYIQanO Vck5eMC45a2j4ANLEPwbpc0EFi2YfH6pBhGr/f3FFq/nyFOuSlhAm6oBmKcPKZqeqf1zdu DZ+Hnt2Ezab1V5I+0NlaruvpB6yGBdE= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-307-Vkv1kLERNR-maYdjLK-c8Q-1; Mon, 01 Nov 2021 15:52:33 -0400 X-MC-Unique: Vkv1kLERNR-maYdjLK-c8Q-1 Received: by mail-ed1-f72.google.com with SMTP id y12-20020a056402270c00b003e28de6e995so3124560edd.11 for ; Mon, 01 Nov 2021 12:52:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=uo0myOPmex77ZheHOc5fgFaOVvECJMd4nJSYqqf6SIY=; b=W5ERloMI1CtBlSTZhRr+V6xqMmDTqWcuD2UA7V9WudxN6fxD5GfhXdHGImv9wGB/DB deyrHim/z4y3MGPwVwq3JxrmZYQfoBMb5EoYquf+oRh+uEOgNQjTkF60xZ+TIIsoSx/b JQx/RFnv92Rl/Tensm3W5d8Se0o6xXiaW/yCtMFuCg9IrUc6RYuJW1geysxB6cPKmLaI VtEtuUGJbijiMkwkzeI4KHEvRp9f5FeUErLp7xfhJik1rNA2e4Bd/lsrLkZVYHGXax/J tyM936xhJKx20D3VHCQV6jB8JdvvoCDI0FTf7+5vSw1ctM+QbnALw7Sxt2T+yznHSj+x hdoQ== X-Gm-Message-State: AOAM532G37/220KtQrKPuwfGRbW3C+A9lxNKr9HvummsZ+VhAZ1OK06O RxmcY+WNJFr4sLIHYw5/pzQ5v6xRDn+066MXW0pnfKTFr1nWbB+dbh36q5EztUuK09xr53xImvS yOAjMf7/1Q2Y54cYE/QiqhdHg X-Received: by 2002:a05:6402:4303:: with SMTP id m3mr43698327edc.328.1635796352443; Mon, 01 Nov 2021 12:52:32 -0700 (PDT) X-Received: by 2002:a05:6402:4303:: with SMTP id m3mr43698313edc.328.1635796352331; Mon, 01 Nov 2021 12:52:32 -0700 (PDT) Received: from ?IPV6:2001:1c00:c1e:bf00:1054:9d19:e0f0:8214? (2001-1c00-0c1e-bf00-1054-9d19-e0f0-8214.cable.dynamic.v6.ziggo.nl. [2001:1c00:c1e:bf00:1054:9d19:e0f0:8214]) by smtp.gmail.com with ESMTPSA id g10sm8543883edr.56.2021.11.01.12.52.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 01 Nov 2021 12:52:31 -0700 (PDT) Message-ID: Date: Mon, 1 Nov 2021 20:52:31 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH 04/17] media: atomisp: pci: do not use err var when checking port validity for ISP2400 Content-Language: en-US To: Andy Shevchenko Cc: Mauro Carvalho Chehab , Tsuchiya Yuto , Sakari Ailus , Greg Kroah-Hartman , Linux Media Mailing List , linux-staging@lists.linux.dev, Linux Kernel Mailing List , Nable , Andy Shevchenko , Fabio Aiuto , "andrey.i.trufanov" , Patrik Gfeller References: <20211017161958.44351-1-kitakar@gmail.com> <20211017161958.44351-5-kitakar@gmail.com> <20211026092637.196447aa@sal.lan> <1a295721fd1f1e512cd54a659a250aef162bfb6f.camel@gmail.com> <20211028123944.66c212c1@sal.lan> <20211101141058.36ea2c8e@sal.lan> <2b81ca7e-fcaa-5449-5662-4eb72e746b02@redhat.com> From: Hans de Goede In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 11/1/21 20:27, Andy Shevchenko wrote: > On Mon, Nov 1, 2021 at 9:07 PM Hans de Goede wrote: >> On 11/1/21 15:10, Mauro Carvalho Chehab wrote: > > ... > >> Testing BYT support definitely is on my radar. Note that BYT >> also has the additional issue that the atomisp2 on BYT can be >> enumerated as either a PCI dev (which may work) or an ACPI/platform >> dev which is unsupported in the original atomisp2 code-drop and >> seems non trivial (because of pci config space writes) to get to >> work. >> >> On the T100TA the device is actually enumerated as an ACPI/platform >> device and the BIOS option to change this is hidden. In the mean >> time I've gained quite a lot of experience with changing hidden >> BIOS options though, so I can easily put it in PCI mode for >> testing. But eventually we also need to tackle ACPI enumeration >> support... > > Not sure if you saw my very far from being even tested patch... > Share it here just in case. I believe you will have a better idea on > how to implement it. I don't remember seeing that, it is great to at least have a starting point when I get around to looking into this, thank you! Regards, Hans