Received: by 2002:ab2:644:0:b0:1ec:cbc4:63fb with SMTP id 4csp1140972lqn; Mon, 26 Feb 2024 08:47:57 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUUZn6EIOH251WgpSairCIt5ehsZNd2OGhdKoE8epzABtgY1iQXrxeyRndCxC4Pd1qsSuyexPM3BjL/KiUprJ1nJImLwhw4P0YpYuLV5A== X-Google-Smtp-Source: AGHT+IHOKuHBhgxeU15FXo6qzE9XECAfbadm91h7gTBY8fhJm/OPHrvgEXE3kAbxWgAbV/QzNIO5 X-Received: by 2002:a05:6a20:b11b:b0:19c:9ebc:93b1 with SMTP id ed27-20020a056a20b11b00b0019c9ebc93b1mr7468312pzb.59.1708966077466; Mon, 26 Feb 2024 08:47:57 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708966077; cv=pass; d=google.com; s=arc-20160816; b=bSCVo8xSzrlwIIEXPKfR0LzAqXVA497ApT47rCwsHs4vg7YI//cWWfd0iOjqukbfSd CSLGCNRFr8aV4VlEnNvt5s00IJTTQxlaZDkYqxLp1eofmwfQiKEvTMrX1HpPxzDdwEcE JjMkdor6PFis55nQoNHpwMjgH3jUcByhL2XJLsuZmIW7I8mmKiCaSW2XGkJJpCaGiIe4 D7gyY+JoUZX4hn2CqI9xKlNMmLK2Ic7V3958sh8LGHRWKdnkbuh3uHbPpfgRURcbf/bP R901/AecbXF5OkUwzjyyYF1ISMeNVGSBi7MqSeGnITwQbp/hOZeoEwS4Tq0uX/T2HIOY h0NA== 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:subject:cc:to :from; bh=qjcp0Sj7u89P39XfqW8toJF7a0h29aKbrexFGJxgVYs=; fh=s5Fc0MEg8Xcp85xwyejK4S4zs7msQB7g1OY0X3YpOJg=; b=tGGIUXP5yxfe8BZRzcsVVRpSFZMYGt8G9MiPI7ZzyN0sEI6WvVoniQYYwRHfzBUNNa 9Zg4Dxmp6lN0pKu2lMAISKOYpox5nqIYxoSC4LBGXMRWswCtX6+iCLa8D4J5p1TJOS5m i6R2CS1vYQDG5OBC6H5oEOdKw4OD/WYp+BK8bsbZTa0msCzSzq3ygHy8q8K576gDhafS UK2aVXjkL4WuD+hPkpredJBHn10oX/AQ3spIR/ItrYNTTMR63swvGOf0eK320aujK8Qm q8zSXtdjlksyVhHdzeNDheHBwhlai5CrzLK7bKn8vGUZkeSRPRJf0X0zgBnMlxjXFzgw nyMA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-81934-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81934-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id fn6-20020a056a002fc600b006e48313db5asi3976873pfb.83.2024.02.26.08.47.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 08:47:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81934-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=pass (i=1 spf=pass spfdomain=rjwysocki.net); spf=pass (google.com: domain of linux-kernel+bounces-81934-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81934-linux.lists.archive=gmail.com@vger.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 0856228C8D1 for ; Mon, 26 Feb 2024 16:47:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B69CB12EBE0; Mon, 26 Feb 2024 16:47:10 +0000 (UTC) Received: from cloudserver094114.home.pl (cloudserver094114.home.pl [79.96.170.134]) (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 179D412CDAE; Mon, 26 Feb 2024 16:47:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=79.96.170.134 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708966029; cv=none; b=GWfCr1z9lK9VZwYqrtrL/dlh6eB9N8BeNQ3owJQzZ64p3GNHdzj5sSjFoD3AmXh83/7/fQ08YDZpNB/KuWBdVUJBeEu/btDTAnWrQeGl1Kh00tiWIVExn1yA512eoR90U9BnXDqx6gDpWaWd2YMfbMNADCCIdWwGHuCr8XsENPE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708966029; c=relaxed/simple; bh=twU+tMuF8yiiSxQu2y66mEJ72k6nKVyPzSVPeSq01uk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=SsK6gPPEKw4R5ZdivyNyDB4qUgvFRUkZjz/EF4KWqxvEPLDyVlWvBeGML4cxTJKOtTjsMYp3JwYJ26qMssFLyhwS9si9chaCuMcT1A1sF0KhoKe8slGKMtNr7fD20dUDdSbUvWqlbDYFOv7QkRXY21jdBDjrZiS1PEkDvz8FyHE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rjwysocki.net; spf=pass smtp.mailfrom=rjwysocki.net; arc=none smtp.client-ip=79.96.170.134 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=rjwysocki.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=rjwysocki.net Received: from localhost (127.0.0.1) (HELO v370.home.net.pl) by /usr/run/smtp (/usr/run/postfix/private/idea_relay_lmtp) via UNIX with SMTP (IdeaSmtpServer 5.4.0) id 914ec8f2b00af1d2; Mon, 26 Feb 2024 17:46:57 +0100 Received: from kreacher.localnet (unknown [195.136.19.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cloudserver094114.home.pl (Postfix) with ESMTPSA id 6835466A4D4; Mon, 26 Feb 2024 17:46:57 +0100 (CET) From: "Rafael J. Wysocki" To: Linux ACPI , Jonathan Cameron Cc: LKML , Mika Westerberg , "Rafael J. Wysocki" , "Russell King (Oracle)" Subject: [PATCH v2 0/5] ACPI: scan: Check enabled _STA bit on Bus/Device Checks Date: Mon, 26 Feb 2024 17:24:57 +0100 Message-ID: <6021126.lOV4Wx5bFT@kreacher> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" X-CLIENT-IP: 195.136.19.94 X-CLIENT-HOSTNAME: 195.136.19.94 X-VADE-SPAMSTATE: clean X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvledrgedvgdeltdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfjqffogffrnfdpggftiffpkfenuceurghilhhouhhtmecuudehtdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvvefufffkggfgtgesthfuredttddtjeenucfhrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqeenucggtffrrghtthgvrhhnpeegfffhudejlefhtdegffekteduhfethffhieettefhkeevgfdvgfefieekiefgheenucffohhmrghinhepkhgvrhhnvghlrdhorhhgnecukfhppeduleehrddufeeirdduledrleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepudelhedrudefiedrudelrdelgedphhgvlhhopehkrhgvrggthhgvrhdrlhhotggrlhhnvghtpdhmrghilhhfrhhomhepfdftrghfrggvlhculfdrucghhihsohgtkhhifdcuoehrjhifsehrjhifhihsohgtkhhirdhnvghtqedpnhgspghrtghpthhtohepiedprhgtphhtthhopehlihhnuhigqdgrtghpihesvhhgvghrrdhkvghrnhgvlhdrohhrghdprhgtphhtthhopehjohhnrghthhgrnhdrtggrmhgvrhhonheshhhurgifvghirdgtohhmpdhrtghpthhtoheplhhinhhugidqkhgvrhhnvghlsehvghgvrhdrkhgvrhhnvghlrdhorhhgpdhrtghpthhtohepmhhikhgrrdifvghsthgv rhgsvghrgheslhhinhhugidrihhnthgvlhdrtghomhdprhgtphhtthhopehrrghfrggvlheskhgvrhhnvghlrdhorhhgpdhrtghpthhtoheplhhinhhugiesrghrmhhlihhnuhigrdhorhhgrdhukh X-DCC--Metrics: v370.home.net.pl 1024; Body=6 Fuz1=6 Fuz2=6 Hi, This is an update of the patch series at https://lore.kernel.org/linux-acpi/4562925.LvFx2qVVIh@kreacher/ which mostly only rearranges the code and makes one functional change in acpi_scan_devie_check(). The original series description is mostly still applicable: "This series adds _STA enabled bit checking for processors (in all cases) and for all devices in the Bus Check and Device Check notification handling paths. It does so without any side-effects on non-processor devices, unlike https://lore.kernel.org/linux-acpi/E1rVDmP-0027YJ-EW@rmk-PC.armlinux.org.uk/ The first patch fixes an issue with failing Device Check notifications without a valid reason. The next two patches together make Bus Check and Device Check notification handling take the enabled bit into account. The last patch modifies the processor scan handler to check the enabled bit it its add callback. I would appreciate testing this on a system where the enabled bit really matters." Thanks!