linux-edac.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: gregkh@linuxfoundation.org
Cc: Meng.Li@windriver.com, bp@suse.de, james.morse@arm.com,
	linux-edac@vger.kernel.org, mchehab@kernel.org,
	rrichter@marvell.com, stable@vger.kernel.org,
	thor.thayer@linux.intel.com, tony.luck@intel.com
Subject: Re: FAILED: patch "[PATCH] EDAC/altera: Use fast register IO for S10 IRQs" failed to apply to 4.19-stable tree
Date: Sun, 15 Dec 2019 13:27:06 -0500	[thread overview]
Message-ID: <20191215182706.GL18043@sasha-vm> (raw)
In-Reply-To: <1576407196157167@kroah.com>

On Sun, Dec 15, 2019 at 11:53:16AM +0100, gregkh@linuxfoundation.org wrote:
>
>The patch below does not apply to the 4.19-stable tree.
>If someone wants it applied there, or to any other stable or longterm
>tree, then please email the backport, including the original git commit
>id to <stable@vger.kernel.org>.
>
>thanks,
>
>greg k-h
>
>------------------ original commit in Linus's tree ------------------
>
>From 56d9e7bd3fa0f105b6670021d167744bc50ae4fe Mon Sep 17 00:00:00 2001
>From: Meng Li <Meng.Li@windriver.com>
>Date: Thu, 21 Nov 2019 12:30:46 -0600
>Subject: [PATCH] EDAC/altera: Use fast register IO for S10 IRQs
>
>When an IRQ occurs, regmap_{read,write,...}() is invoked in atomic
>context. Regmap must indicate register IO is fast so that a spinlock is
>used instead of a mutex to avoid sleeping in atomic context:
>
>  lock_acquire
>  __mutex_lock
>  mutex_lock_nested
>  regmap_lock_mutex
>  regmap_write
>  a10_eccmgr_irq_unmask
>  unmask_irq.part.0
>  irq_enable
>  __irq_startup
>  irq_startup
>  __setup_irq
>  request_threaded_irq
>  devm_request_threaded_irq
>  altr_sdram_probe
>
>Mark it so.
>
> [ bp: Massage. ]
>
>Fixes: 3dab6bd52687 ("EDAC, altera: Add support for Stratix10 SDRAM EDAC")
>Reported-by: Meng Li <Meng.Li@windriver.com>
>Signed-off-by: Meng Li <Meng.Li@windriver.com>
>Signed-off-by: Thor Thayer <thor.thayer@linux.intel.com>
>Signed-off-by: Borislav Petkov <bp@suse.de>
>Cc: James Morse <james.morse@arm.com>
>Cc: linux-edac <linux-edac@vger.kernel.org>
>Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
>Cc: Robert Richter <rrichter@marvell.com>
>Cc: stable <stable@vger.kernel.org>
>Cc: Tony Luck <tony.luck@intel.com>
>Link: https://lkml.kernel.org/r/1574361048-17572-2-git-send-email-thor.thayer@linux.intel.com

Adjusted context and queued for 4.19.

-- 
Thanks,
Sasha

      reply	other threads:[~2019-12-15 18:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-15 10:53 FAILED: patch "[PATCH] EDAC/altera: Use fast register IO for S10 IRQs" failed to apply to 4.19-stable tree gregkh
2019-12-15 18:27 ` Sasha Levin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191215182706.GL18043@sasha-vm \
    --to=sashal@kernel.org \
    --cc=Meng.Li@windriver.com \
    --cc=bp@suse.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=james.morse@arm.com \
    --cc=linux-edac@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=rrichter@marvell.com \
    --cc=stable@vger.kernel.org \
    --cc=thor.thayer@linux.intel.com \
    --cc=tony.luck@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).