Received: by 2002:ab2:7407:0:b0:1f4:b336:87c4 with SMTP id e7csp288307lqn; Fri, 12 Apr 2024 01:06:29 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWVpz2TN7QYDWmxWx1ueHCGZth1DWwUAtK4r4DWTTKa41iEMMEIBwoT5BmDE05VlEvSUo7vFYyJqWpet3DeWxTos0FELq0ynh9075Ii6A== X-Google-Smtp-Source: AGHT+IFSvis0PlAV6DdgNwfUPQbY2nIw5dOAw+vgagob1KeuYCbMZFxVLIuFsiPiNdzjI01p/RET X-Received: by 2002:a05:6870:c69e:b0:22e:e675:69ce with SMTP id cv30-20020a056870c69e00b0022ee67569cemr1867178oab.33.1712909189353; Fri, 12 Apr 2024 01:06:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712909189; cv=pass; d=google.com; s=arc-20160816; b=XtLQCbKiOKrfR8jqA2HoVnslN6fohNeRcKSLzbDTLNYc8b4Z8DUdeYiZsnQ6EsaeYm qf0yJWDoS2vl6os4TZedQ2tQji8ZEl/HbikWSi5Wd7CuTC9aAl+jJrhFE4dN6oR0O5D/ UjPwUV3aFy+R0k0yBhnPM/Jqx0UgcTtBK4fGgm1VeZ9gZR7ptksmKfRg6SndLkOsKutW /NsGNWRWPG0WJHIr306JmaRKuAtRAxVwxpbR/xgh/RNRrrfqQ0TDTSoGfyxVlGyPKD/D ZISX4WSkeCvndd4hmkFZhaq5tAZkUKUmYzqpHCptLrfnPU5WvGVUllVXuGlxGygU8D3c hb7g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-id:precedence:sender:cc:to :subject:date:from:message-id:dkim-signature; bh=TZIYJ0iaQArFGrOLPYJ4tsogyNaAuf4eWxh/L+DfOaM=; fh=vQgF6PIoX2P+SMbfqNmXfWTWrLFinRAgzqVjYI7u3Y0=; b=emUF3cwQBz08+POLouPFt9hEE7lFN5It8aQPUqUVe0s36k4lUNjn9nfugnyiyr7z6+ oDwMt30rUPW6YlC2IqMB0J+A9MDqq6NFKI4G8LsH4GCE2TxnyBfsKwpb4INOBidHLF+Q f16VLUnJK41kaQaC79q3kKOV1Qmx3+O7CSacTHWTR7n7FEfXUVQieXUtlnGb4dvZwc90 6tAi8LL4AmLTCx6ExFEPFW3PEz0QvehrdPbSgoxxGP6zHhvVjtvdBFEDIJE46mqaUgrV f14lkFR4XH9WDVXcnhESLIJt+oqFtU0eOHbGp157GSWdxbusBXNzZDhKDCiGdsKY+nbv 4MNA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=jNllclIB; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-142203-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142203-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id h29-20020a63531d000000b005dc8a59e303si2660986pgb.111.2024.04.12.01.06.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 01:06:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-142203-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=jNllclIB; arc=pass (i=1 dkim=pass dkdomain=infradead.org); spf=pass (google.com: domain of linux-kernel+bounces-142203-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-142203-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 07DD428A521 for ; Fri, 12 Apr 2024 08:06:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D03FA50A62; Fri, 12 Apr 2024 08:04:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="jNllclIB" Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 8D9474DA05; Fri, 12 Apr 2024 08:04:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.92.199 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712909060; cv=none; b=OkFksQZeYAXHjVMjFfavYJy+FdL3yHw0X6bvGj6BIFXu10a78/fpVRMsVuu7pqE74sAnnlAG9sERs/JTjRKU8p8ldyJ7Vj1r/J22dFRE533OPpuF80m0H6EXu/7fZp0dZIUkFyhPuzv///3W02pYh6sCnc7rapdSx/HxRb7gujA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712909060; c=relaxed/simple; bh=nIWUop786WwaUkA148r4Yi041jVffY1R6AdbkbVokME=; h=Message-Id:From:Date:Subject:To:Cc; b=XeWc5cNXBDB+G3uIc6MuHXASCSqJn4hCrAyjhjZwhj0XJ8fBg4ZmOvtSgurmn2ikcqUL23tJaShtGrxBv1LsIxPbn1sydob1P9DvdBz19LKcVnUQWgPEBU7MW/P7dbK2BBtkP2HRsSLy7VBvCrChvrcIGDQizy+k9vCV7cXNyEM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=desiato.srs.infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=jNllclIB; arc=none smtp.client-ip=90.155.92.199 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=desiato.srs.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=Sender:Cc:To:Subject:Date:From: Message-Id:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:In-Reply-To:References; bh=TZIYJ0iaQArFGrOLPYJ4tsogyNaAuf4eWxh/L+DfOaM=; b=jNllclIBnCKaxYK+mZCnEaw538 iAGBBmHhPQQFW4Ol9+hljzCnpT9QFfIfKTmmBNLelu2iVFVSYk9Oz5jFyMVEnV0ZoFlPvDcqTpMjh HPj6Dfg35HLiXg9z0NWz9M0xm2dOjdpIcyHR/b32nNCimBC4Ka66AOQBROOWMGO7GMviJAES+sXsd PsRpRavdumDfk0W9sbi+KyBG/X8M/Mmp5Q3uS/NazvfXKqkWfOjIuE6Kh6OHpe5hRwAEgB7EyviyP KcF9gDqHIB0KTcWm7UhP+I+vbXj4H/XFljhgkUu24mYt9fpdCfzR+uysYUNcF7Si/8gS5uqEm9GB5 Oxv5R91A==; Received: from [2001:8b0:10b:1::ebe] (helo=i7.infradead.org) by desiato.infradead.org with esmtpsa (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvBtG-0000000926G-2suv; Fri, 12 Apr 2024 08:04:09 +0000 Received: from dwoodhou by i7.infradead.org with local (Exim 4.97.1 #2 (Red Hat Linux)) id 1rvBtG-00000009KSr-0Gxd; Fri, 12 Apr 2024 09:04:06 +0100 Message-Id: <20240412073530.2222496-1-dwmw2@infradead.org> From: David Woodhouse Date: Mon, 11 Mar 2024 12:19:14 +0000 Subject: [PATCH v2 0/2] Support clean reboot after hibernate on Arm64 To: Catalin Marinas , Will Deacon Cc: Robert Moore , "Rafael J. Wysocki" , Len Brown , Sudeep Holla , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, acpica-devel@lists.linux.dev Sender: David Woodhouse X-SRS-Rewrite: SMTP reverse-path rewritten from by desiato.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: When the hardware signature in the ACPI FACS changes, the OS is supposed to perform a clean reboot instead of attempting to resume on a changed platform. Although these patches have a functional dependency, they could be merged separately. The second patch just won't *see* a FACS table if the ACPICA fix isn't present. v2: Now that the ACPICA patch is merged upstream, note its commit ID David Woodhouse (2): ACPICA: Detect FACS even for hardware reduced platforms arm64: acpi: Honour firmware_signature field of FACS, if it exists arch/arm64/kernel/acpi.c | 10 ++++++++++ drivers/acpi/acpica/tbfadt.c | 30 +++++++++++++----------------- drivers/acpi/acpica/tbutils.c | 7 +------ 3 files changed, 24 insertions(+), 23 deletions(-)