Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp1183863lqp; Fri, 22 Mar 2024 07:49:51 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXrRhzgIsgx/6XrEhwilP8KQCRRbJf33KA0zk3kkecHxw/xe8BHYtbpQX94JxB891WrHCMXolDp3nNgAiSg8JMg4zYIX/7QOyVnzPKUFA== X-Google-Smtp-Source: AGHT+IH5uD/k2EnSmSS3VqHhkQMVEdQbojl+QokBZsysRXNKZeDVfKFZEhjbUSwR3EIq+WmW8+np X-Received: by 2002:a17:902:834c:b0:1dd:75c6:faa7 with SMTP id z12-20020a170902834c00b001dd75c6faa7mr2193703pln.36.1711118991149; Fri, 22 Mar 2024 07:49:51 -0700 (PDT) Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id s15-20020a170902ea0f00b001dd7d4acd84si2188214plg.447.2024.03.22.07.49.50 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 07:49:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111648-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; arc=fail (body hash mismatch); spf=pass (google.com: domain of linux-kernel+bounces-111648-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111648-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id CEE29282064 for ; Fri, 22 Mar 2024 14:49:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E1C6487BC; Fri, 22 Mar 2024 14:49:43 +0000 (UTC) Received: from mail-oi1-f171.google.com (mail-oi1-f171.google.com [209.85.167.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BAAB747F59; Fri, 22 Mar 2024 14:49:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711118983; cv=none; b=aib259MBXKB8LCtvBvVH90CGQjzMx3OZsYH5swcqiHc2ddW9v6of7faiUGwiLmrHr5mM61E3aCoC+5CCzhD2vwrDqGPfVHxhOJJwmTzSEz/UdbN7ALyb9mtLm+LUxfnPkZRswdd/y7DdobVzi4QS53pX8UohnrIMlfPsM/otESA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711118983; c=relaxed/simple; bh=x1rELB/Uz9Fbcjbsx1Oq+znV+D9W3R2Wrq7JrFWjea0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=cyLUpyqRkEQySq3pTIsJOjvxzTqZqq4voeaudR6xINdmx2cA3ipW3YUcGh9uz2kTMFjpXTAh6p7aNB1rgY+J35W3ciUGwTdpmMb9CFlEEiVP8+wyf2f33n59Euq/idP2wQIUXE1Bjk3wJoLFssrEyvDWgDsOQaeHlujsGyLuss0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.client-ip=209.85.167.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-oi1-f171.google.com with SMTP id 5614622812f47-3c3c005cfd0so215b6e.0; Fri, 22 Mar 2024 07:49:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711118981; x=1711723781; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=x1rELB/Uz9Fbcjbsx1Oq+znV+D9W3R2Wrq7JrFWjea0=; b=dqYMsbhEqTnY6FgmNt9r7b7hXPAzmVh7L0UCPf8BiSYR6AGKIgPv/GHDlToX3uKp+h lAZF6zSxZ/sIdRN2EylhKfIBb6oluTBOw/06EErE8zPPX5XQfHPawOptwmf/3OVMCZGq MtK2AciZ9u6FJjAERn56SCcevoCZbd2Bo3JgMbBj6730FoW712VoBbQBGpRPCJup/9ih sycPFFegFYp5Ai5WbyfHJwjI46RyeeM4v6RRhGOXY2NUDS6YM663TOnaHFVQEfTVixa4 TTXh+bHzF3ASWPupBpe9BfRZ5oY+VI3yw4Hzp0sKWqKBCrXf8qsEqB8VmbeT+FzEeK5B srHQ== X-Forwarded-Encrypted: i=1; AJvYcCUYHbk/3p07H0WRLIQo2n49IqKhQF71+7AjRMwx+f0O0FzQWvTy2n/0trhIsjsZtpx5Itilsy/sbeiKxQypnX+38Qy6P7xjWA6A+Map1dKxRmNgU8f0wavnoJqFSHZTnl+l2yX+CLjC0fvl4w8wDj6+Q0R6nXj6n0iecOqJEplNSQtwsw== X-Gm-Message-State: AOJu0YxFJ4HbpZyEFy/ds+AqJT5jYhfOtNRkJrTCuvl3mfyUSh73LKD4 WALhqf7ZnJFw1z3A4aa3gKPBA0Gx0JuIGlOHNdk71xmpWjT7QTz/6Z4Ky6piFe/8kMtDOy2kwmc 5MJhiLte4yoNm9lxabSB7oceAcQA= X-Received: by 2002:a05:6808:1887:b0:3c3:badd:b804 with SMTP id bi7-20020a056808188700b003c3baddb804mr1545581oib.2.1711118980722; Fri, 22 Mar 2024 07:49:40 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <36198864-579e-41f0-baf6-917f0a7f4bfa@intel.com> <5767438.DvuYhMxLoT@kreacher> <5770245.DvuYhMxLoT@kreacher> In-Reply-To: From: "Rafael J. Wysocki" Date: Fri, 22 Mar 2024 15:49:29 +0100 Message-ID: Subject: Re: Bug report: probe of AMDI0040:00 failed with error -16 To: 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 , Thomas Gleixner , Mario Limonciello , "Rafael J. Wysocki" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Mar 22, 2024 at 3:28=E2=80=AFPM Linus Walleij wrote: > > On Thu, Mar 21, 2024 at 5:33=E2=80=AFPM Rafael J. Wysocki wrote: > > > We actually can get away without defining a new IRQ flag, as in > > the patch below. > > > > It is not super-clean, but should do the work. > > > > Linus, what do you think? > > 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 thi= s. 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. Thanks!