All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Carstens <hca@linux.ibm.com>
To: Peter Oberparleiter <oberpar@linux.ibm.com>
Cc: Vineeth Vijayan <vneethv@linux.ibm.com>,
	Vasily Gorbik <gor@linux.ibm.com>,
	Alexander Gordeev <agordeev@linux.ibm.com>,
	linux-s390@vger.kernel.org
Subject: Re: [PATCH v2] s390/cmf: Fix virtual vs physical address confusion
Date: Mon, 21 Sep 2026 17:23:54 +0200	[thread overview]
Message-ID: <20260921152354.9433H88-hca@linux.ibm.com> (raw)
In-Reply-To: <20260921131648.3636771-1-oberpar@linux.ibm.com>

On Mon, Sep 21, 2026 at 03:16:48PM +0200, Peter Oberparleiter wrote:
> The measurement block address is an absolute address. Define the
> associated schib_config and schib fields as dma64_t to enable automatic
> detection of incorrect assignments. Also add the missing virt_to_dma64()
> translation.
> 
> Without this fix, a wrong address will be used by firmware when storing
> extended format channel measurement data on kernels built with
> CONFIG_RANDOMIZE_IDENTITY_BASE=y.
> 
> Fixes: 14edd0d73bfe ("s390/cmf: fix virtual vs physical address confusion")
> Cc: <stable@vger.kernel.org>
> Signed-off-by: Peter Oberparleiter <oberpar@linux.ibm.com>
> ---
> v2:
>   - Change type of mba field from u64 to dma64_t
>   - Add fixes and cc-stable tags
> 
>  drivers/s390/cio/cio.h | 5 +++--
>  drivers/s390/cio/cmf.c | 2 +-
>  2 files changed, 4 insertions(+), 3 deletions(-)

Applied, thanks!

      parent reply	other threads:[~2026-09-21 15:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21 13:16 [PATCH v2] s390/cmf: Fix virtual vs physical address confusion Peter Oberparleiter
2026-09-21 13:25 ` sashiko-bot
2026-09-21 15:23 ` Heiko Carstens [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=20260921152354.9433H88-hca@linux.ibm.com \
    --to=hca@linux.ibm.com \
    --cc=agordeev@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=linux-s390@vger.kernel.org \
    --cc=oberpar@linux.ibm.com \
    --cc=vneethv@linux.ibm.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 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.