Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp704757lqp; Wed, 12 Jun 2024 13:46:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXRhkCoadpJns2F2coy/KNo/+ci7Lb5IGMbjZNovxK/MerDWtHQhVFxv6FCBE7qsz+CkxG4W2cOVbrOoFbZpxrvqSXccO55oZPEupu61A== X-Google-Smtp-Source: AGHT+IGAV8VighA3OtloAydMjF1rwZBEv8epfZ0H14DC553TaWgvz/QD/MP06JwblCUmfN89qcma X-Received: by 2002:a17:902:d2c4:b0:1f7:13db:528c with SMTP id d9443c01a7336-1f83b56893emr37117735ad.13.1718225207762; Wed, 12 Jun 2024 13:46:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718225207; cv=pass; d=google.com; s=arc-20160816; b=QNekFEKdHqe6zsv2oOCDn4u06yd8pyP7NwbZAjDxBBB6QXJfYwTq3zfHyYnORd6RHL 9WyPw0zHGECchPBrPqIrIffnCXGUZeVp4Ai8Ta7fiKlAfoD3XTAauTnJrmmnWvcVyUEB YwGdnO5Xx0jLZNYm3FJh76QBuSQTaAoBKDkCKz39hfpltXzQ85DfXVwpbo7nz3hoxw9R 7bWoyJXtA/J0XSLKU6cEH6iTObZ0OEY8ydtRHIr0I8dpLm6BjYtnEwZNQSKWl39yP4ae hA0WE9L/LLtPhu8OXwApjpddjWWlcUbYDdvO5bXDAr59bdb5/7mm3vHTvBfAl3vopyWE AmIQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XtsTyvha3h7jyjPEpMPo58nS3JZPxE6EGLWqH2ClM94=; fh=Jr2fmiKTxm3vYCrbCM51tAejJM189bcfyhj0lQx/Dgw=; b=r28UPxlh67Phi9P4Zo8/lDeqXRpRX/lYNfVhYeMP8e3tjpoll35BHv+4hcUENWs+LI X/ik49+6U6OKthvqzT8qkvC8ELByz71gCzkPl+1rFPrmm3Z3oPgmLu62Mps4xHcI+oUZ vHNpvzZoOPVEZHm18UwF5WLk1qQV+ooq4fqh1gMMlGY1wWJZnvxRje5BXvniBSSGz21o s4mNwMS7I7+dZgVm03UnZ51BSPArsienFdqoQtFI2dcmIbkuyiGlCdKi8Eax91b9Ug89 kJTDOIREJVAnjAq7t8u4cwBj7q4BSN6ZkJTI0jj1BXtlqT95I7qaB2HNX9uXdIAF+oQq VGIw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gTeizW+V; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-212061-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212061-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d9443c01a7336-1f8491fe55bsi10204455ad.354.2024.06.12.13.46.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 13:46:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-212061-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gTeizW+V; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-212061-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-212061-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DC1A3284DF6 for ; Wed, 12 Jun 2024 18:21:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 505BD3D387; Wed, 12 Jun 2024 18:21:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="gTeizW+V" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.21]) (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 0A44B381C4; Wed, 12 Jun 2024 18:21:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.21 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718216478; cv=none; b=V3Vqs8M9B+M3D0A2nl8aNC2BuyQLPfj7NyffQzPzuc4JI3oyWKSiw2WquWWQHtauMaNgvdUWBNrD0PcZ4WGF330HziSQl+0Li+ZnlZ3Zy1ZbMkmkLwW7eAPhKGPey2adKLXEn/ZJpE+uw9jjvxCaugQFA0zRQrtK+qWGon8YoFg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718216478; c=relaxed/simple; bh=UQ/0K0tgkEB2g6sr8y0pChy/iFNEa60HIj3E8+6/imk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=kQPtWAa+Mux3lLiqWzhYYN2hdHF/H3466QhEg2fVYIT1ffYzRhFBqcdtIMZNiQFAWlurK+cqjpV6l4hWnsapFYNwGORPDN9/aMm9P6twxrIsyrt/+cPTZTr0RYr25lwxZmdlbRYQV5ZiJr5kzopkGSEt+f00HZh7gyuXEvsjXk4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=gTeizW+V; arc=none smtp.client-ip=198.175.65.21 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1718216477; x=1749752477; h=date:from:to:cc:subject:message-id:references: mime-version:content-transfer-encoding:in-reply-to; bh=UQ/0K0tgkEB2g6sr8y0pChy/iFNEa60HIj3E8+6/imk=; b=gTeizW+VwcXqwOAG7wix5ysyy6p2SftUgmql4OPAAy2oBtqOsuZNTA5y N+ciAYQ2D54Fg59iGJ+5TDldyrRbmM8ZTWLLj3myAQOLg1ZfyOrBIQ06V z2wzEKqw6lTDNqOP8tSK0n05/z08xELAFgMbeVBghXdkjmNemw+Gc5huB I6RXDj9CRkyn+ZBhJJ3nIvzzsUpCAyAfOILqxWGE0Ec+QCUNS6JNNkDs5 +xXUQObkXeVt040/jc2GHOxFxi6nxnLHBW2gpbEdE6bBsW/aS7Runx63E mSFA1aN5MsUCAqZ6HEsKGoF1MfRUJVUGfvKgo8kauhzYFfjLn2h/KLMul A==; X-CSE-ConnectionGUID: 7FnSa0EkQ4GTb3js9moFQg== X-CSE-MsgGUID: SIWGNaUCRR2rF0CY3FM2Sg== X-IronPort-AV: E=McAfee;i="6700,10204,11101"; a="14962699" X-IronPort-AV: E=Sophos;i="6.08,234,1712646000"; d="scan'208";a="14962699" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa113.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 11:21:16 -0700 X-CSE-ConnectionGUID: LhFJoJscTlmG4nGPqnjo+g== X-CSE-MsgGUID: DDhy7ZtYTnCfs4UbcFWAvg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.08,234,1712646000"; d="scan'208";a="44418408" Received: from turnipsi.fi.intel.com (HELO kekkonen.fi.intel.com) ([10.237.72.44]) by fmviesa004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Jun 2024 11:21:13 -0700 Received: from kekkonen.localdomain (localhost [127.0.0.1]) by kekkonen.fi.intel.com (Postfix) with ESMTP id 5736811FA94; Wed, 12 Jun 2024 21:21:10 +0300 (EEST) Date: Wed, 12 Jun 2024 18:21:10 +0000 From: Sakari Ailus To: "Rafael J. Wysocki" Cc: Hans de Goede , Genes Lists , linux-kernel@vger.kernel.org, mchehab@kernel.org, hverkuil-cisco@xs4all.nl, laurent.pinchart@ideasonboard.com, wentong.wu@intel.com, linux-media@vger.kernel.org, linux-acpi@vger.kernel.org, "regressions@lists.linux.dev" Subject: Re: [PATCH 1/1] ACPI: scan: Ignore Dell XPS 9320 camera graph port nodes Message-ID: References: <20240528084413.2624435-1-sakari.ailus@linux.intel.com> <4b387b4d-f778-4891-9f07-df5fc0a093cd@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Hi Rafael, On Wed, Jun 12, 2024 at 03:06:53PM +0200, Rafael J. Wysocki wrote: > Hi Sakari, > > On Wed, Jun 12, 2024 at 2:47 PM Sakari Ailus > wrote: > > > > Hi Rafael, > > > > On Wed, Jun 12, 2024 at 02:32:26PM +0200, Rafael J. Wysocki wrote: > > > > > > > I just hit the same problem on another Dell laptop. It seems that > > > > > > > all Dell laptops with IPU6 camera from the Tiger Lake, Alder Lake > > > > > > > and Raptor Lake generations suffer from this problem. > > > > > > > > > > > > > > So instead of playing whack a mole with DMI matches we should > > > > > > > simply disable ACPI MIPI DISCO support on all Dell laptops > > > > > > > with those CPUs. I'm preparing a fix for this to replace > > > > > > > the DMI matching now. > > > > > > > > > > > > DisCo for Imaging support shouldn't be dropped on these systems, and this > > > > > > isn't what your patch does either. Instead the ACPI graph port nodes (as > > > > > > per Linux specific definitions) are simply dropped, i.e. this isn't related > > > > > > to DisCo for Imaging at all. > > > > > > > > > > So it looks like the changelog of that patch could be improved, right? > > > > > > > > Well, yes. The reason the function is in the file is that nearly all camera > > > > related parsing is located there, not that it would be related to DisCo for > > > > Imaging as such. > > > > > > So IIUC the camera graph port nodes are created by default with the > > > help of the firmware-supplied information, but if that is defective a > > > quirk can be added to skip the creation of those ports in which case > > > they will be created elsewhere. > > > > > > Is this correct? > > > > Yes. > > So it would be good to add a comment to this effect to > acpi_nondev_subnode_extract() where acpi_graph_ignore_port() is > called. > > And there is a somewhat tangential question that occurred to me: If > the nodes are created elsewhere when acpi_graph_ignore_port() is true, > why is it necessary to consult the platform firmware for the > information on them at all? Wouldn't it be better to simply always > create them elsewhere? Simple answer: for the same reason why in general system specific information comes from ACPI and not from platform data compiled into the kernel. Of course this is technically possible but it does not scale. On laptops shipped with Windows some additional information is also available from ACPI via custom objects but a lot of information is just hard coded into the IPU bridge as well as the INT3472 driver. -- Kind regards, Sakari Ailus