Received: by 2002:ab2:6c55:0:b0:1fd:c486:4f03 with SMTP id v21csp427569lqp; Wed, 12 Jun 2024 06:07:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWaNZyGIz+1JhVLMpa92h25sje4S/x9IkiKJKHkGzt8wOkhUTmaYwpv//CfQaE+1Z87w08NSFCSu352olvQEOZzRej/rhKAmdIEkqJPSg== X-Google-Smtp-Source: AGHT+IGm8hzrS14wPmoebZ6wI9H0SOJb40Iaqcx2Wh1KxhyQYj+KPLZ/f3bkRtHn6WvJAhXxgeLf X-Received: by 2002:a50:d597:0:b0:57a:76c1:b14e with SMTP id 4fb4d7f45d1cf-57ca8e047b7mr1149292a12.0.1718197644140; Wed, 12 Jun 2024 06:07:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718197644; cv=pass; d=google.com; s=arc-20160816; b=QaGnf3aMyXXWVZ5yNW1Q1qsESe3f1BvvxIr1rykb3lBKITkWZVIfk+cW7Vk2nRcnlp B+tLfLPto2F92a3KEogXO15Znts2tQETwuLRgPAVaJJTYrfkOJ0yyDMPc6NmziS2MIAk RBCLh3afO7WKh5KO7xZq3beZ3DU0TRdr+oIetDPi7Ffh2TmQmKKG82S3p17012Ht5Ou6 wwOIfpgJQX3RdQUpJHV11ETkY7u9egfHqbxQh6/7bGIZCujtG50D+Zs9nHtDAiU8YEOY PtOL7HD/F+PCwU833KEygDU+dBF0zqvhgHuxyPOdVE+5H76A4WJ6myme2A/TpWYp5fbG zYNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=k/2C9/xLwkGEwl8puGAnRSvFVSVEtJAR3AWZMzezyKI=; fh=5a3fY7WocFFZg+FuOhx10eDUnNLRxg4hIO5xX+g+2UQ=; b=0GpvxdW+qVtDlLwMyT/d53TSygHR+72gByOLg1l3tJ5dEFQhEnr4gcsp/ypf57kw9Z Z88VWddw0vS9o4A64OWxC7DTvr3TDiK2enpStOeAf8gZi5cYfJlfRB77uVp8SAYi4z5E lD198C7pnaDZufYbOlXduTmbaHShPABkMVRq+GRYZuGUUkzY+nzMinLlFhf/uZNp1nWD RkiyYoZAKiFDVkko1wMUURLDOynCNoSgcgbKaVM8ejCpAHe4eU6yPvcTJcVrK4yYXsrB KvcGcBVP3tKgLK9R1eBnK/h8ZbLSGwZ6EB8uDrMpB8vSA84WNieHnTFaz4AScig79tMa UAkw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k9q3FErm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-211534-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211534-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57c8632f74bsi2822130a12.382.2024.06.12.06.07.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 12 Jun 2024 06:07:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-211534-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=k9q3FErm; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-211534-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-211534-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 am.mirrors.kernel.org (Postfix) with ESMTPS id D036A1F24F59 for ; Wed, 12 Jun 2024 13:07:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E405917B42A; Wed, 12 Jun 2024 13:07:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="k9q3FErm" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 0E7AC178371; Wed, 12 Jun 2024 13:07:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718197626; cv=none; b=eaVSYOsjFMmX3T0HdqJAQOmiauDOTaPmT65LhrRViMePmJKGlFvFw1dNaat+mPMChm7fanx8ylQjm39Ymf9x4bx1dEu1jokJrM17pXJFa+CHg2LqeowwsGvhhnSSmyBzqegv3NCR9ak/4LrJVFxAiDjyR5m0sUR0TaCAzf/hAKM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718197626; c=relaxed/simple; bh=lrnihvvSZGrimK51z8Vm3UHgRlphb++nLv3/ylgKNfc=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=opzg1kzwOEf/nrxe4tBtXQi2TfQJM8fFHOTOulE33JP7rae6efZG05bHFTU3jKy2iz8BBXumZ1zd9Kb5FWjGYSBLKl4LYZlarCazmvYydrHvfLvD1wHU4Y13qr5QBLsyjhmw2VZWiRyLLqOZjY6WNMYf+KDjoDib/LfucovYYR0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=k9q3FErm; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B589CC3277B; Wed, 12 Jun 2024 13:07:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718197625; bh=lrnihvvSZGrimK51z8Vm3UHgRlphb++nLv3/ylgKNfc=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=k9q3FErmOKe1Ln+6Cp+StYEfhRBxizkoiwwI2eP3R3E4vXx3zre20LdsqyrtR4uHx fBqP1BpWc0hKVR7rv1ue8V8l82FMYJalpca8MxpBIqvUlGWxK/kilQtf27jrpYH7Vc EaJRFzBBoGirVZTJRClKLVtYy7BRmNSN+wM8WHVDFclvdAQ1swmYgVUkD+hf0u92Ay +oYRNKnj92loSJIoCxUlDIWVgqPnl6TEoxAn6DbR9Sn9kPcvhv03joZzT+DXwujbr6 emMSdJ5dU8sQpdEvjl/A7hidCDITN6mHE1DsCgBgCB/QU6SRViEtTRs2KBkudTwb/I szBvkQbiuz3Fg== Received: by mail-oa1-f45.google.com with SMTP id 586e51a60fabf-250aa23752dso161029fac.3; Wed, 12 Jun 2024 06:07:05 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXNVLP6dRr1U13qSvuq9BiudSIN5Z+EvdLZobDU+skx6j3Hoee35ZWxVZaBON713CDgYodE2OKDB665uhfOLjh6iLNKgTWdGaRqVtVaIXffHrw4GhGMpPxE8/pf1Os3nbnnzaBs3ibAbFYEc+DGoeQGpBTyP6g8MQQO2zBVyQXvLtrsuL7k X-Gm-Message-State: AOJu0YzG256pg6zgChOMG9M+QJH2wgdo1eKkzNuDEDocT49MjkME1sK3 AZYVnnrrzHfokKO9e02w4kXFLIAi91AXtlIpLNQi/6dXQDafoDusYwcBRBuXLPst/NwEeS/Lwxf s//Z1MQnCLlPk3hPvGd+FTB5c5fo= X-Received: by 2002:a05:6871:4e91:b0:24f:ddd5:a21d with SMTP id 586e51a60fabf-255151f70fcmr1871165fac.5.1718197625087; Wed, 12 Jun 2024 06:07:05 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <988e48090982c89ce0c906954832fdfb09a1ce34.camel@sapience.com> <20240528084413.2624435-1-sakari.ailus@linux.intel.com> <4b387b4d-f778-4891-9f07-df5fc0a093cd@redhat.com> In-Reply-To: From: "Rafael J. Wysocki" Date: Wed, 12 Jun 2024 15:06:53 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/1] ACPI: scan: Ignore Dell XPS 9320 camera graph port nodes To: Sakari Ailus Cc: "Rafael J. Wysocki" , 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" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Sakari, On Wed, Jun 12, 2024 at 2:47=E2=80=AFPM 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 th= at > > > > > > all Dell laptops with IPU6 camera from the Tiger Lake, Alder La= ke > > > > > > 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 no= des (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, rig= ht? > > > > > > 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 Dis= Co 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?