Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1381179lqp; Fri, 22 Mar 2024 13:07:22 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXpHS8lQznB8F3ipPUJOFSH7fxzf79r4vUsSnhdEX8o1DTEmHNMI2ZZsJspg2y+w9Nf3l7yOdr966dHk0o+pu8NDBzWPwL0LrZfBtiT9A== X-Google-Smtp-Source: AGHT+IFn/EZ8jDsBzjxDnSC8TnN6Gr3TG3qBq3BXIZ0ujg4AxNxnorqRUTvknowzdUBInmLv8De0 X-Received: by 2002:a05:6602:4009:b0:7d0:3d14:94be with SMTP id bk9-20020a056602400900b007d03d1494bemr362007iob.12.1711138041978; Fri, 22 Mar 2024 13:07:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711138041; cv=pass; d=google.com; s=arc-20160816; b=UaoIftOXr2gduczNj5EKoTFqZtHCreHW7t1xCftsuKUvMbF+6GKnGheB/SaN1UubB0 7In6WjFNFbUJJaqHIXAfC2LyOVd+VP9Nhb3abtYO3qg+g7Cm0BbVzybfLoe4Tq/WP/7X 8xwn9F+G9OFKT97yKf+6vfNUvJR6qicCNLLGdlna0vqDXhauZCQfT8f5YFuepkwb7tdW GjCrg0ETptgLsa+lbC3Xbzi9BVxb0PUYQOaR4Ih4TOjG/zxBIaEuLfjxjREWX7yt7leh ngpaSXZI6tPIqLZpyoLf6rfs9WtKP79NupcRpJZrBf/2U8pAZubRgtc1QEj+EfMI69aY ZpHQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=/I7GIcd1orvJ1YDttKy3zNKHrkJSEPzRDkmOWSa/qAA=; fh=rerc/vo9mz5W6lGcpKuXLlmJnqUkiBvRB9EVq06m7cE=; b=D0DdyTMnnSKKv+SW3V3lJAXbD4xmsuPICylzb2SVXUgaHgTrC0Pp5t3x7OLdZ80RBN 7ZigWjk9OEiUSkoD+WrJQEZJ3VwQUzrZlL4zccujnWxfvXpm3/RW/CqNsTqYh1CjUuPT TXEREWyNgCBD3VQjDzMW5e4kxZrzS8b2etRmGGCTYIK0BiwVlo0IczZkjhSS47EI9TCy xzeiE/DwKnEgLnPCcGIfFXbXjtHg31AmD2zHeJZOj0NfT8UigmgKUuszSTzv6vHlP6et +Xls8tHc/uLw1OWaAItTUfeAiummNIhaZl7LcLGtWPrxZz5+uRlZq+zuDGiKa0QzAsG/ CJ/g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=p86UHy59; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=mf2GQc6o; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-112009-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112009-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id o28-20020a637e5c000000b005dc4b244601si2740716pgn.522.2024.03.22.13.07.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 13:07:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-112009-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=p86UHy59; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=mf2GQc6o; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-112009-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-112009-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 719D9282E47 for ; Fri, 22 Mar 2024 20:07:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 713277F498; Fri, 22 Mar 2024 20:07:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="p86UHy59"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="mf2GQc6o" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 34E067A702; Fri, 22 Mar 2024 20:07:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711138033; cv=none; b=g5LDyg1ta8XemldQKr475+OcupeOTgXtxpMsQwbk6Y9cj84eVPIv4UUedD34vhLpsSuZEC37nhmC6t7mTf7HSDpCWfeZdtyxB5l5Ug0SEQ8gj4+ieuMLYGuePDcJWQr0SvjshjPxVlESWQXwg0pNdwKwmLByIDqTI1PGOwgSpiI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711138033; c=relaxed/simple; bh=Vvp33QqtqJ8Tn5uFYVU4oVtsQ5/b4IC2R0vLU+XGt9Q=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=U4rWuwb3kytZXOptqW4+cTZGz6/wlVu5DpEhjcAA4sykWrBuQxk4WvEjp071KB2GfQSiCifKLG6NmPCkocOMLiv6tiRA7iy8ZY/O29hRC00zC/Z/7jNtgeFJE6w50Ec0g0FJcN0oKlD6NpsuDWIMlW7v5BBxxKFIsFVY+fcrRoQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=p86UHy59; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=mf2GQc6o; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1711138030; 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=/I7GIcd1orvJ1YDttKy3zNKHrkJSEPzRDkmOWSa/qAA=; b=p86UHy59deAJphoKo4e8ExAKwzLzqZuVoRo7Wgw263tq7c4FV2x2A+nvGw13hy6emlETfC F8iFd8vUPMCjmV/vzx9z3V+020ZdR42dvAg/vSElJgpiwAJlgVsm8EhGPWKAcbtBXSMxEM xYJt8ap/U8b+cMT5J5i/U+6d7FmMK3YI1BpmBn0F++5o64BbUXM5U0LTkE7zkB5FppFCfH V+pjfo/XuO2tMea9a35qQ/u0o/O5OKnfjVaLRsenaH9ULHINw3tO0upwBEXQvPPnwQSara CaxuuBlYlywBQmS6vnXe3iCpNC18oheuKWmw3ExWetWLiYmg5IKxlgvNHnHVGQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1711138030; 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=/I7GIcd1orvJ1YDttKy3zNKHrkJSEPzRDkmOWSa/qAA=; b=mf2GQc6o+t6tJaFsnRrk8n3ofsR6kPIvtr2gJke6DlSEAn7zHOx9dPqj/celfpP/MG1yAS SZDd6tyCO0kyOoAQ== To: "Rafael J. Wysocki" , Linus Walleij Cc: "Rafael J. Wysocki" , Francisco Ayala Le Brun , Adrian Hunter , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, ulf.hansson@linaro.org, Linux ACPI , Mario Limonciello , "Rafael J. Wysocki" Subject: Re: Bug report: probe of AMDI0040:00 failed with error -16 In-Reply-To: References: <36198864-579e-41f0-baf6-917f0a7f4bfa@intel.com> <5767438.DvuYhMxLoT@kreacher> <5770245.DvuYhMxLoT@kreacher> Date: Fri, 22 Mar 2024 21:07:09 +0100 Message-ID: <87frwighea.ffs@tglx> 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-Transfer-Encoding: quoted-printable On Fri, Mar 22 2024 at 15:49, Rafael J. Wysocki wrote: > On Fri, Mar 22, 2024 at 3:28=E2=80=AFPM Linus Walleij wrote: >> Uhhh I rather not, the other approach will cover the invariably recurring >> instances of this, it will not be the last time we see something like th= is. > > I'm not actually sure how likely this is. > > The ACPI SCI is generally heavy-wieght, so it is not shared very often > (and I believe that there is a particular reason for sharing it with a > GPIO chip) and this very well may be an exception. > >> We need tglx input on this, I could merge the patch below with some >> big TODO to fix it properly if the discussion about the proper solution >> takes too much time. >> >> But I rather not hack around with IRQs without tglx (or marcz, but he >> got overloaded) input. > > Fair enough. > > I guess I'll post the first patch with a proper changelog next week > and we'll see. Yes please. The COND flag makes a lot of sense. Hacking around it in the driver is just a bandaid. Thanks, tglx