Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp803295pxb; Tue, 3 Nov 2020 13:00:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJyU1C4j/aAbeGjTjXtiFBJCXI82vHzTsSeBW/Jn5T/ZvgNe/9gmGkvGP59ANxk7jo0lYCof X-Received: by 2002:aa7:cad6:: with SMTP id l22mr23844299edt.229.1604437200935; Tue, 03 Nov 2020 13:00:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604437200; cv=none; d=google.com; s=arc-20160816; b=I4Jep8fMGGoEr82mSZuQl75pA8OXUUtTTaiSudADdF7tdbwA7PD+lXbV9qAyxx/zvY d+XwAEIoSUQxB0Q/zpovMWDTElyYXU0RFqg6zexaCbS5oTogY61Vscm9xZqSmzCR1MHV /DZ1IgY0dyA4QRXsagvYx9KGRViq7wuKlOhAlMtwHyUbwrkg17TfCWMUCTmCyODB3VOg 084bv0Zv51AyI+Q1Q+dY/k2b7PP7sgJOyABq7rTR1XJTejNMOxO1fN9sEbDTA024oYuG 084DDjqzazdGQ/Xf/VQNvEfV/97Due3Xvv8AdOjvKhObOfh0XyAXkq+dbo1jrTCrx+lW VBrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=c6R+8jlT2LMA5shr9QsA+UDMTesCEdvVCRLOPyivPsw=; b=QMY7k+VraX7NYXe7ywDVg2YytcdvPBF9EEN1gylkqs+PAiIcIuIXgwaU7EI+8QDA1P D3X4qH73l1agGhgRphL97OVp7Cpm1HiMXDNHUbxV5Esiy4LmC5Wvfew89hjUl4NU5r6X ikQwk4UcVvTpjcio4+ffTbvAkPHZsOA3yWzAJlx6jG7D1PxNvZWaTCw/h95dh1RMr+PS 82zUXxmU3JNHYFCHWzniqKflo+V0gyUj/C1bkiQQWzx9MCPqhmoI/Q21ghwNZ4HVWfsU ml2e7TxrbdOWy+TIwLDos4VnGj5AcX6EuVPFRZ+y6tifG2kCqLuS3kvUTGMCpHMMaIJD X96A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dVQn4+4a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x7si6701375edr.509.2020.11.03.12.59.38; Tue, 03 Nov 2020 13:00:00 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dVQn4+4a; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732276AbgKCUzT (ORCPT + 99 others); Tue, 3 Nov 2020 15:55:19 -0500 Received: from mail.kernel.org ([198.145.29.99]:50880 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732444AbgKCUxO (ORCPT ); Tue, 3 Nov 2020 15:53:14 -0500 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B59E3223AC; Tue, 3 Nov 2020 20:53:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604436793; bh=wxicaN8Xq01Q9Z8XES/h1oYBUXwh7kb/qivCuBkce54=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=dVQn4+4a+IMdwpU1gGp/y3UdkwbohK/H+Q9Sr7eiQHYvzqu+a694l3yYPDpMDMf1Z cdUDdFz9zwUOSPu8acFWhpJEke98ke6ccmZwgGNUF+II+Au2bJdTbwxbrz5A5DCKDg vMWBAPw5wOGLK2oGuQzKLmlvwtFKybtFZxisS6qU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Etienne Carriere , Sudeep Holla , Sasha Levin Subject: [PATCH 5.4 014/214] firmware: arm_scmi: Fix ARCH_COLD_RESET Date: Tue, 3 Nov 2020 21:34:22 +0100 Message-Id: <20201103203251.081486503@linuxfoundation.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201103203249.448706377@linuxfoundation.org> References: <20201103203249.448706377@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Etienne Carriere [ Upstream commit 45b9e04d5ba0b043783dfe2b19bb728e712cb32e ] The defination for ARCH_COLD_RESET is wrong. Let us fix it according to the SCMI specification. Link: https://lore.kernel.org/r/20201008143722.21888-5-etienne.carriere@linaro.org Fixes: 95a15d80aa0d ("firmware: arm_scmi: Add RESET protocol in SCMI v2.0") Signed-off-by: Etienne Carriere Signed-off-by: Sudeep Holla Signed-off-by: Sasha Levin --- drivers/firmware/arm_scmi/reset.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/firmware/arm_scmi/reset.c b/drivers/firmware/arm_scmi/reset.c index ab42c21c55175..6d223f345b6c9 100644 --- a/drivers/firmware/arm_scmi/reset.c +++ b/drivers/firmware/arm_scmi/reset.c @@ -35,9 +35,7 @@ struct scmi_msg_reset_domain_reset { #define EXPLICIT_RESET_ASSERT BIT(1) #define ASYNCHRONOUS_RESET BIT(2) __le32 reset_state; -#define ARCH_RESET_TYPE BIT(31) -#define COLD_RESET_STATE BIT(0) -#define ARCH_COLD_RESET (ARCH_RESET_TYPE | COLD_RESET_STATE) +#define ARCH_COLD_RESET 0 }; struct reset_dom_info { -- 2.27.0