All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sasha Levin <sashal@kernel.org>
To: gregkh@linuxfoundation.org
Cc: bp@suse.de, pipatron@gmail.com, stable@vger.kernel.org
Subject: Re: FAILED: patch "[PATCH] EDAC/amd64: Read back the scrub rate PCI register on F15h" failed to apply to 5.4-stable tree
Date: Thu, 2 Jul 2020 21:21:40 -0400	[thread overview]
Message-ID: <20200703012140.GF2722994@sasha-vm> (raw)
In-Reply-To: <159343061095220@kroah.com>

On Mon, Jun 29, 2020 at 01:36:50PM +0200, gregkh@linuxfoundation.org wrote:
>
>The patch below does not apply to the 5.4-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 ee470bb25d0dcdf126f586ec0ae6dca66cb340a4 Mon Sep 17 00:00:00 2001
>From: Borislav Petkov <bp@suse.de>
>Date: Thu, 18 Jun 2020 20:25:25 +0200
>Subject: [PATCH] EDAC/amd64: Read back the scrub rate PCI register on F15h
>
>Commit:
>
>  da92110dfdfa ("EDAC, amd64_edac: Extend scrub rate support to F15hM60h")
>
>added support for F15h, model 0x60 CPUs but in doing so, missed to read
>back SCRCTRL PCI config register on F15h CPUs which are *not* model
>0x60. Add that read so that doing
>
>  $ cat /sys/devices/system/edac/mc/mc0/sdram_scrub_rate
>
>can show the previously set DRAM scrub rate.
>
>Fixes: da92110dfdfa ("EDAC, amd64_edac: Extend scrub rate support to F15hM60h")
>Reported-by: Anders Andersson <pipatron@gmail.com>
>Signed-off-by: Borislav Petkov <bp@suse.de>
>Cc: <stable@vger.kernel.org> #v4.4..
>Link: https://lkml.kernel.org/r/CAKkunMbNWppx_i6xSdDHLseA2QQmGJqj_crY=NF-GZML5np4Vw@mail.gmail.com

The code we're patching got moved around in dcd01394ce7c ("EDAC/amd64:
Drop some family checks for newer systems"). I've fixed it up and queued
for 5.4-4.4.

-- 
Thanks,
Sasha

      reply	other threads:[~2020-07-03  1:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-29 11:36 FAILED: patch "[PATCH] EDAC/amd64: Read back the scrub rate PCI register on F15h" failed to apply to 5.4-stable tree gregkh
2020-07-03  1:21 ` 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=20200703012140.GF2722994@sasha-vm \
    --to=sashal@kernel.org \
    --cc=bp@suse.de \
    --cc=gregkh@linuxfoundation.org \
    --cc=pipatron@gmail.com \
    --cc=stable@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.