Message ID | 6021126.lOV4Wx5bFT@kreacher |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-81934-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:a81b:b0:108:e6aa:91d0 with SMTP id bq27csp2198717dyb; Mon, 26 Feb 2024 08:48:34 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWUadI4Rjg9RkR75G1UWSe1dgDraITSf0y+EBhg+dQY5UcfdpttgRFaZZJ98rw0mjrU/QSzxBdxxplJBMjygyD0bJGp/Q== X-Google-Smtp-Source: AGHT+IFKVwTyGNx9/jOPNHP4DRoW3fJBesX48aPxfNtRb782XK68JUKvlm0A2F67Hhj7O1MB4oAC X-Received: by 2002:a17:90b:314e:b0:29a:c4a3:ca0a with SMTP id ip14-20020a17090b314e00b0029ac4a3ca0amr3083391pjb.18.1708966114460; Mon, 26 Feb 2024 08:48:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708966114; cv=pass; d=google.com; s=arc-20160816; b=CFh0SOF0Ks+rRyRzbV/hwm9uuk4eMcmMJFuqPNSXETpqM0I7ztIDD7xcgp42M4BRKP UhxUnAqZqBRjSazjTFK5gQ3FlplLCJKHZyrMmSad3RQYfv0CRwmVTvYyBn8LE3GCx4C0 TAU4909InvnSm01FKrGGhkVJlNKiHDQU3P98u4W6taf00tx6R6u5vN4WwG6wFFeKdBeR dm6/E5j6NVY9INLyHQg6+9txJQ4PfypvWDPE+hlEgJ6RSNaoHIvRonfwPEj7AtrcHf0k lnaGr9gX/I11JnNy1ZSAdTOZ8xtcBMFN2Xi/gS3pYwzQDYUorDzaS+GQ22U6Mohr9b9i Zo+Q== 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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81934-ouuuleilei=gmail.com@vger.kernel.org" Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id nn17-20020a17090b38d100b002994aca0f01si4124728pjb.39.2024.02.26.08.48.34 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Feb 2024 08:48:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-81934-ouuuleilei=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-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-81934-ouuuleilei=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 47E902911A1 for <ouuuleilei@gmail.com>; Mon, 26 Feb 2024 16:48:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F1F412DDB6; Mon, 26 Feb 2024 16:47:12 +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" <rjw@rjwysocki.net> To: Linux ACPI <linux-acpi@vger.kernel.org>, Jonathan Cameron <jonathan.cameron@huawei.com> Cc: LKML <linux-kernel@vger.kernel.org>, Mika Westerberg <mika.westerberg@linux.intel.com>, "Rafael J. Wysocki" <rafael@kernel.org>, "Russell King (Oracle)" <linux@armlinux.org.uk> 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: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791980852299798883 X-GMAIL-MSGID: 1791980852299798883 |
Series |
ACPI: scan: Check enabled _STA bit on Bus/Device Checks
|
|
Message
Rafael J. Wysocki
Feb. 26, 2024, 4:24 p.m. UTC
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!