From patchwork Thu Apr 6 13:52:08 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Pundir X-Patchwork-Id: 96983 Delivered-To: patch@linaro.org Received: by 10.182.246.10 with SMTP id xs10csp740850obc; Thu, 6 Apr 2017 06:52:36 -0700 (PDT) X-Received: by 10.84.213.16 with SMTP id f16mr44356860pli.156.1491486756799; Thu, 06 Apr 2017 06:52:36 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si1953616pli.28.2017.04.06.06.52.36; Thu, 06 Apr 2017 06:52:36 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of stable-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=@linaro.org; spf=pass (google.com: best guess record for domain of stable-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=stable-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934802AbdDFNw3 (ORCPT + 6 others); Thu, 6 Apr 2017 09:52:29 -0400 Received: from mail-pg0-f45.google.com ([74.125.83.45]:35241 "EHLO mail-pg0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934788AbdDFNw0 (ORCPT ); Thu, 6 Apr 2017 09:52:26 -0400 Received: by mail-pg0-f45.google.com with SMTP id 81so37114363pgh.2 for ; Thu, 06 Apr 2017 06:52:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:author; bh=ObazG3n4eoua95j1WMgrCtsNsHjQsWZDFr/vLt3GrxY=; b=GOZ/1p9spg8lhrPj0VNCEuNBpYpYcra3/AGhXaVPn+CESlQVWFN5a1KTIMppRfw7fL s+p6TCKUsRf6nbY3B9BdgtODu8MiyGqrK8iZuirXy50Xg/HLAoRtrjSrPtEeTHpMV8da lR2jofDT1uf9GBzhKk2QC9SvmRXkc8Tc6HS0s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:author; bh=ObazG3n4eoua95j1WMgrCtsNsHjQsWZDFr/vLt3GrxY=; b=L7YQTAzRrQ1ciDHwnO8QC/VhnIPWE5IHtXPFhlmHLhRmhrKQqz6rxxVcOGbON9adzk jMZi3wtL6yKBbtZp53C7kC1JrGVN1rJMfBs6aMt+ViYq67tKvx+yUguQ4S9z8nvQbb1v qraeDApjTmPRFSlscKECeJsBeUDsuo77w0W2gx3P6qLDoOq0g145OGCeQkhliESsIcFL cftmcZ5aOZOqz4u0ykA890J3gy3cyRZLSutIYofVwsrEJpx1xcS+jZlcki1jWXXV/O8r u+/QI8K9AInFEE44kSr/rXpBif10MMGi7ne6nmdG4nVUWMq25bLQVRy+mHMTIaEbe4WO EHTQ== X-Gm-Message-State: AFeK/H2JWDv2y9dpmQY5541vSsK+Mudz8tFzVGhzLEG+QSVoZjMLeMYEbrfIjxaWGknKgc6A X-Received: by 10.84.195.129 with SMTP id j1mr44208620pld.88.1491486740626; Thu, 06 Apr 2017 06:52:20 -0700 (PDT) Received: from localhost.localdomain ([106.51.240.246]) by smtp.gmail.com with ESMTPSA id v11sm4187210pfi.50.2017.04.06.06.52.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 06 Apr 2017 06:52:19 -0700 (PDT) From: Amit Pundir To: gregkh@linuxfoundation.org Cc: stable@vger.kernel.org, james.hogan@imgtec.com Subject: [PATCH for-4.10 0/6] mips: IRQ stack patches from LEDE Date: Thu, 6 Apr 2017 19:22:08 +0530 Message-Id: <1491486734-15668-1-git-send-email-amit.pundir@linaro.org> X-Mailer: git-send-email 2.7.4 Author: Amit Pundir Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org Hi Greg, Picked up these MIPS IRQ stack patches from LEDE source tree, for your consideration for stable 4.10. Cherry-picked and build tested on v4.10.8 for ARCH=mips + allmodconfig. Matt Redfearn (6): MIPS: Introduce irq_stack MIPS: Stack unwinding while on IRQ stack MIPS: Only change $28 to thread_info if coming from user mode MIPS: Switch to the irq_stack in interrupts MIPS: Select HAVE_IRQ_EXIT_ON_IRQ_STACK MIPS: IRQ Stack: Fix erroneous jal to plat_irq_dispatch arch/mips/Kconfig | 1 + arch/mips/include/asm/irq.h | 12 ++++++ arch/mips/include/asm/stackframe.h | 7 ++++ arch/mips/kernel/asm-offsets.c | 1 + arch/mips/kernel/genex.S | 81 +++++++++++++++++++++++++++++++++++--- arch/mips/kernel/irq.c | 11 ++++++ arch/mips/kernel/process.c | 15 ++++++- 7 files changed, 122 insertions(+), 6 deletions(-) -- 2.7.4