Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2429613imj; Mon, 18 Feb 2019 05:58:41 -0800 (PST) X-Google-Smtp-Source: AHgI3Ia+lbBNXawiN6lszspRtfH4R+tHebe8Z83gtFJR75CC6G8MAhwEFA6sAB1VNCKJcU0nEj7u X-Received: by 2002:a17:902:b20e:: with SMTP id t14mr22690819plr.97.1550498321447; Mon, 18 Feb 2019 05:58:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550498321; cv=none; d=google.com; s=arc-20160816; b=SiQylc0R/n9nwzJ+KOBj2x720rlKjt86ghsE4KLiYwSTHEyzN9j0cHwWmbHy+Z3D6b N9E9cJoSpFugOHpdG3qa6IEv/Jpas/RvndPJDdbDbiPOBmMruGe4ej9h+8hmYyeeUfG9 BmvjE9QAvyHK76fDOKvLnZbz6YZEz6RCvUHQbxEtVTXUuuNqDnpU3UydVczoJPfjEq61 PVv7ntmMZHUVHGkmw7e1m5Y8nvapc4MUQ9wfY+RTT3j+7HGZZ+n6iEhP6Apob9ZAfSEb 2CfjHuNyacePiAb5x7NhHGI+MdbDYNT8yZSwABiNwi4V+p73wiwFaFmhROfr4p07zncy fKHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=PZ12WSJofYSoDnoRoujLcIPRdP5W0zegKZDDFdXgNJ4=; b=NVcsWqDFlnhJIVL0HeUpfh6hfFQuM883Srz6BVck9bPX/C7iJwQVi8pAFdBhPO/f6L WkEmEaIjVY1SZ+1f9nijLcP4aFASEjYQJGjuT949bgmMpQqatcFcBjtDBWMXTH44fG1A 5Qf8GeqDDLmVC7bI/pVQdRWmli0IRDf9asDwy+Bo5dXbguA2WERdocD5Yp+LwPhtMY7V +CrH8xDxk5x47NHO1xOkwf6EghsMc51E1X4QgTMBu/OvM6J1UnUvWk85HmwZTR7V8R/g zBug7+uBwz6rhd/l8BWy0wZ5nxcOrORXycG1cEeLuDitn+93T5uatFiLC4bLjROdt/5j LULg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=VZ8y14Rx; 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 q20si12782357pgl.268.2019.02.18.05.58.25; Mon, 18 Feb 2019 05:58:41 -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; dkim=pass header.i=@kernel.org header.s=default header.b=VZ8y14Rx; 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 S2388013AbfBRN5W (ORCPT + 99 others); Mon, 18 Feb 2019 08:57:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:37746 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388086AbfBRN5T (ORCPT ); Mon, 18 Feb 2019 08:57:19 -0500 Received: from localhost (5356596B.cm-6-7b.dynamic.ziggo.nl [83.86.89.107]) (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 964C320842; Mon, 18 Feb 2019 13:57:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550498239; bh=5kOt4+OG0Gd5VQMnXeVSqTTs8pk4nRVIwntHUT+uX1E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VZ8y14RxRpHIIzajdxb3legQkCGHmBXatBnXMUzkFRi15CijMbGoVc0UmeJvjwKGq ZtS9EhfYzX2q3A7m7pimlSfwxh4JY+QQj27YSgD41Sb+4/QkeqV4s2WF7el7vG8gqS GT4Jta7LYkfhAdqTGLYxIk4WN/1qUk2f+oqGKbPc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Meelis Roos , Matt Turner Subject: [PATCH 4.14 51/62] alpha: Fix Eiger NR_IRQS to 128 Date: Mon, 18 Feb 2019 14:43:57 +0100 Message-Id: <20190218133510.162120898@linuxfoundation.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190218133505.801423074@linuxfoundation.org> References: <20190218133505.801423074@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review X-Patchwork-Hint: ignore MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Meelis Roos commit bfc913682464f45bc4d6044084e370f9048de9d5 upstream. Eiger machine vector definition has nr_irqs 128, and working 2.6.26 boot shows SCSI getting IRQ-s 64 and 65. Current kernel boot fails because Symbios SCSI fails to request IRQ-s and does not find the disks. It has been broken at least since 3.18 - the earliest I could test with my gcc-5. The headers have moved around and possibly another order of defines has worked in the past - but since 128 seems to be correct and used, fix arch/alpha/include/asm/irq.h to have NR_IRQS=128 for Eiger. This fixes 4.19-rc7 boot on my Force Flexor A264 (Eiger subarch). Cc: stable@vger.kernel.org # v3.18+ Signed-off-by: Meelis Roos Signed-off-by: Matt Turner Signed-off-by: Greg Kroah-Hartman --- arch/alpha/include/asm/irq.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/arch/alpha/include/asm/irq.h +++ b/arch/alpha/include/asm/irq.h @@ -56,15 +56,15 @@ #elif defined(CONFIG_ALPHA_DP264) || \ defined(CONFIG_ALPHA_LYNX) || \ - defined(CONFIG_ALPHA_SHARK) || \ - defined(CONFIG_ALPHA_EIGER) + defined(CONFIG_ALPHA_SHARK) # define NR_IRQS 64 #elif defined(CONFIG_ALPHA_TITAN) #define NR_IRQS 80 #elif defined(CONFIG_ALPHA_RAWHIDE) || \ - defined(CONFIG_ALPHA_TAKARA) + defined(CONFIG_ALPHA_TAKARA) || \ + defined(CONFIG_ALPHA_EIGER) # define NR_IRQS 128 #elif defined(CONFIG_ALPHA_WILDFIRE)