From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 76CEB2C80 for ; Mon, 1 Nov 2021 19:52:35 +0000 (UTC) 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-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-403-yLpMcPbbPhKs9yVbs2hpVA-1; Mon, 01 Nov 2021 15:52:33 -0400 X-MC-Unique: yLpMcPbbPhKs9yVbs2hpVA-1 Received: by mail-ed1-f71.google.com with SMTP id f4-20020a50e084000000b003db585bc274so16531202edl.17 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=SifUkEzWsq+UTzLr3bSllyzd8naSudADyznShmO8fY0r3cFhJ9l+ZTfmOYR50GZZ/q fLbuS7Vh8ZtN1rhYrOGyg79TPSBy/P0M7+LTshMgAiUQENy9SM4LupIDsakvuUIh1cuP /bPYNT8lyssZIChsIK5Yi6NVFkj40ZARzp54hYIaIMUfZra/aFOKj+Lgc0vk333THTfy mKwpUYifQSWaKHM6xD4bjzCnCcUc7xx6XvYR0iyvHTYQlGqILbCDLEU0GUd0r57bbVUn HSdNMQBZ4i/PT6IMam0myc9pzzXyuZfDG75UZU1TsivRuEV5o+rR55tEEETjR+XFl/wm hhAw== X-Gm-Message-State: AOAM531hXCABd9ifD1IGJ6pNkT7GRXmSTxJLIHRH5WEmUmgdcS19lAxk q9W2sTJ162Sd6fJZj2KKi1HhCq6kjKE4UslaXsIh9+ArKpAsBEVZJAg+eAoKmE7lMJM3VxK+dau sD1zBTh7XL2XaKKyzYYXSBEXZsA== X-Received: by 2002:a05:6402:4303:: with SMTP id m3mr43698328edc.328.1635796352443; Mon, 01 Nov 2021 12:52:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzyIO1sEculhVTlDh29zsirt2jle73+pfsvGAdkAM0Fc7IjkSU14BNo6oiuMXKyFaDOZ+3usg== 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 Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: 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 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: Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=hdegoede@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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