public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans de Goede <hdegoede@redhat.com>
To: Sakari Ailus <sakari.ailus@linux.intel.com>,
	Genes Lists <lists@sapience.com>,
	"Rafael J. Wysocki" <rafael@kernel.org>
Cc: 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" <regressions@lists.linux.dev>
Subject: Re: [PATCH 1/1] ACPI: scan: Ignore Dell XPS 9320 camera graph port nodes
Date: Wed, 12 Jun 2024 12:08:49 +0200	[thread overview]
Message-ID: <4b387b4d-f778-4891-9f07-df5fc0a093cd@redhat.com> (raw)
In-Reply-To: <e9062095-b312-44df-a9e3-0b09f3ec9eff@redhat.com>

Hi,

On 6/6/24 8:12 PM, Hans de Goede wrote:
> Hi,
> 
> +To: Rafael since this was Cc-ed to linux-acpi but never send
> to Rafael directly.
> 
> Rafael this fixes a crash in 6.10-rc1 for some users and is necessary
> to make the cameras work on the Dell XPS 13 plus 9320 .
> 
> On 5/28/24 7:09 PM, Hans de Goede wrote:
>> Hi Sakari,
>>
>> On 5/28/24 10:44 AM, Sakari Ailus wrote:
>>> Ignore camera related graph port nodes on Dell XPS 9320. They data in BIOS
>>> is buggy, just like it is for Dell XPS 9315. The corresponding software
>>> nodes are created by the ipu-bridge.
>>>
>>> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
>>> ---
>>> Hi,
>>>
>>> Could you test this and see whether it fixes the warning?
>>>
>>> The camera might work with this change, too.
>>
>> Thank you I just received a Dell XPS 13 plus 9320 myself to use
>> for VSC testing and I can confirm that with this patch 6.10.0-rc1
>> works, including giving a picture with the libcamera software ISP +
>> 3 small libcamera patches.
> 
> I forgot to add:
> 
> Tested-by: Hans de Goede <hdegoede@redhat.com>
> Reviewed-by: Hans de Goede <hdegoede@redhat.com>

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.

Rafael, please drop this patch, my more generic fix will replace it
and backporting will be easier without having the intermediate fix
in the middle.

Regards,

Hans




>>>  drivers/acpi/mipi-disco-img.c | 6 ++++++
>>>  1 file changed, 6 insertions(+)
>>>
>>> diff --git a/drivers/acpi/mipi-disco-img.c b/drivers/acpi/mipi-disco-img.c
>>> index d05413a0672a..bf9a5cee32ac 100644
>>> --- a/drivers/acpi/mipi-disco-img.c
>>> +++ b/drivers/acpi/mipi-disco-img.c
>>> @@ -732,6 +732,12 @@ static const struct dmi_system_id dmi_ignore_port_nodes[] = {
>>>  			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS 9315"),
>>>  		},
>>>  	},
>>> +	{
>>> +		.matches = {
>>> +			DMI_EXACT_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
>>> +			DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "XPS 9320"),
>>> +		},
>>> +	},
>>>  	{ }
>>>  };
>>>  
> 


  parent reply	other threads:[~2024-06-12 10:08 UTC|newest]

Thread overview: 48+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-27 16:34 6.10-rc1 : crash in mei_csi_probe Genes Lists
2024-05-27 19:57 ` Sakari Ailus
2024-05-27 20:58   ` Genes Lists
2024-05-28  8:44     ` [PATCH 1/1] ACPI: scan: Ignore Dell XPS 9320 camera graph port nodes Sakari Ailus
2024-05-28 17:09       ` Hans de Goede
2024-06-06 18:12         ` Hans de Goede
2024-06-07  7:55           ` Rafael J. Wysocki
2024-06-07  9:24             ` Sakari Ailus
2024-06-12 10:08           ` Hans de Goede [this message]
2024-06-12 10:25             ` Rafael J. Wysocki
2024-06-12 12:10             ` Sakari Ailus
2024-06-12 12:21               ` Rafael J. Wysocki
2024-06-12 12:26                 ` Sakari Ailus
2024-06-12 12:32                   ` Rafael J. Wysocki
2024-06-12 12:47                     ` Sakari Ailus
2024-06-12 13:06                       ` Rafael J. Wysocki
2024-06-12 14:30                         ` Hans de Goede
2024-06-12 14:39                           ` Laurent Pinchart
2024-06-12 18:24                             ` Sakari Ailus
2024-06-12 19:07                             ` Rafael J. Wysocki
2024-06-12 20:08                               ` Laurent Pinchart
2024-06-12 15:26                           ` Rafael J. Wysocki
2024-06-12 18:33                             ` Sakari Ailus
2024-06-12 18:41                               ` Rafael J. Wysocki
2024-06-12 19:06                                 ` Sakari Ailus
2024-06-12 19:12                                   ` Rafael J. Wysocki
2024-06-12 19:17                                     ` Sakari Ailus
2024-06-12 19:32                                       ` Rafael J. Wysocki
2024-06-12 20:00                                         ` Sakari Ailus
2024-06-12 20:17                           ` Sakari Ailus
2024-06-13  9:50                             ` Rafael J. Wysocki
2024-06-12 18:21                         ` Sakari Ailus
2024-06-12 18:29                           ` Rafael J. Wysocki
2024-06-12 18:40                             ` Sakari Ailus
2024-06-12 18:50                               ` Rafael J. Wysocki
2024-06-12 19:11                                 ` Sakari Ailus
2024-06-12 19:26                                   ` Rafael J. Wysocki
2024-06-12 20:00                                 ` Laurent Pinchart
2024-06-12 20:31                                   ` Rafael J. Wysocki
2024-06-12 20:41                                     ` Laurent Pinchart
2024-06-13 12:37                                       ` Rafael J. Wysocki
2024-06-12 20:01                               ` Laurent Pinchart
2024-05-30  0:35       ` Wu, Wentong
2024-06-06 15:39     ` 6.10-rc1 : crash in mei_csi_probe Genes Lists
2024-06-06 15:50       ` Sakari Ailus
2024-06-06 16:17         ` Genes Lists
2024-06-06 17:07         ` Linux regression tracking (Thorsten Leemhuis)
2024-06-07  7:57           ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4b387b4d-f778-4891-9f07-df5fc0a093cd@redhat.com \
    --to=hdegoede@redhat.com \
    --cc=hverkuil-cisco@xs4all.nl \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-media@vger.kernel.org \
    --cc=lists@sapience.com \
    --cc=mchehab@kernel.org \
    --cc=rafael@kernel.org \
    --cc=regressions@lists.linux.dev \
    --cc=sakari.ailus@linux.intel.com \
    --cc=wentong.wu@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox