Received: by 10.223.185.116 with SMTP id b49csp238213wrg; Thu, 15 Feb 2018 20:50:30 -0800 (PST) X-Google-Smtp-Source: AH8x2241b3uUnQ+d//yDDXkTFF2EMCiyBp+KAR9fa8y/Fpyk3rXCqPz6TexlW5uVxg44nk3Q2rjA X-Received: by 2002:a17:902:3383:: with SMTP id b3-v6mr4625693plc.240.1518756630857; Thu, 15 Feb 2018 20:50:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518756630; cv=none; d=google.com; s=arc-20160816; b=KhaJWX83MgzZbVwH3439tI6hFsbkW6M3z+NpqpDFQ6VaGWe0cBryuHiaAHDEtBCgCl jlKqdHcDJuJtKTSx7uMcFbLn7JmrThOn8Cfxy49pQSX9jEOm5L24Z2WoWHo2Nu2OuClZ j2GjqUleN0NbFksWQ4cl368TxKcb79iZW+V9WUmA4AByyCc9fAIKUf6Q2VHL7I/zwulD gGZ5pog9uwQHVyqD/plbh+EQTM+Q3n8iUyuq3gLYcV8kywJKYrFZ0kVl/RWC7345n+KN ABYo8Yqy3qMZLtnvLAiZ+5XW6oTC//LDc9IT68h4hcJxqI3SDgUjdvcQOWvHAfvrVp2T UN7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=kFOi4dntau2/CnUz5QHL265wZ/yJOerAnXSJ+HKOE+Y=; b=yTRdYrCjY3Ny9OpiABTW8lSSy5JdnxkwzNK/ebcORAObYmVcRLecLAdsWSDFs8cF99 96UPS2lU1ixmE//0P9EFhr4Wqbzfl+z4vAR2ZRx4yX+G2mzJzlszzV9105Qyr7o0J9jc 2lluNYEkr98t+bJZ9gt7OkL+ebz6Yvaz3hkDN1LH4v/SbkzZKYi3iBtr4nJssLVwzx+W XUTaobO0FgXmYjqNhfeXXjfezF/qc/6nFw+kA/il7XnANo72iO57hBrnsv57nWgPHuO3 GfoxcDMhuL4uRr9QrggMRrHKLeFWofpgDSVNKQdlC0pBl2Rfuox3Qf27rcwbpQi38uCf xSaQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b184si764539pgc.786.2018.02.15.20.50.16; Thu, 15 Feb 2018 20:50:30 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1425041AbeBOPsJ (ORCPT + 99 others); Thu, 15 Feb 2018 10:48:09 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:36436 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1425009AbeBOPsH (ORCPT ); Thu, 15 Feb 2018 10:48:07 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id A90FA109D; Thu, 15 Feb 2018 15:48:06 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Mikulas Patocka , Matt Turner Subject: [PATCH 4.15 171/202] alpha: fix reboot on Avanti platform Date: Thu, 15 Feb 2018 16:17:51 +0100 Message-Id: <20180215151721.806148164@linuxfoundation.org> X-Mailer: git-send-email 2.16.1 In-Reply-To: <20180215151712.768794354@linuxfoundation.org> References: <20180215151712.768794354@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.15-stable review patch. If anyone has any objections, please let me know. ------------------ From: Mikulas Patocka commit 55fc633c41a08ce9244ff5f528f420b16b1e04d6 upstream. We need to define NEED_SRM_SAVE_RESTORE on the Avanti, otherwise we get machine check exception when attempting to reboot the machine. Signed-off-by: Mikulas Patocka Signed-off-by: Matt Turner Signed-off-by: Greg Kroah-Hartman --- arch/alpha/kernel/pci_impl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/arch/alpha/kernel/pci_impl.h +++ b/arch/alpha/kernel/pci_impl.h @@ -144,7 +144,8 @@ struct pci_iommu_arena }; #if defined(CONFIG_ALPHA_SRM) && \ - (defined(CONFIG_ALPHA_CIA) || defined(CONFIG_ALPHA_LCA)) + (defined(CONFIG_ALPHA_CIA) || defined(CONFIG_ALPHA_LCA) || \ + defined(CONFIG_ALPHA_AVANTI)) # define NEED_SRM_SAVE_RESTORE #else # undef NEED_SRM_SAVE_RESTORE