All of lore.kernel.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Will Deacon <will@kernel.org>, Reiji Watanabe <reijiw@google.com>
Cc: guanghuifeng@linux.alibaba.com,
	Robin Murphy <robin.murphy@arm.com>,
	Raghavendra Rao Anata <rananta@google.com>,
	Evgenii Stepanov <eugenis@google.com>,
	linux-arm-kernel@lists.infradead.org,
	Ricardo Koller <ricarkol@google.com>,
	Marc Zyngier <maz@kernel.org>, Peter Shier <pshier@google.com>,
	Peter Collingbourne <pcc@google.com>,
	Mark Rutland <mark.rutland@arm.com>,
	Oliver Upton <oupton@google.com>,
	Jing Zhang <jingzhangos@google.com>
Subject: Re: [PATCH v4 0/2] arm64: DC {ZVA, GVA, GZVA} shouldn't be used when DCZID_EL0.DZP == 1
Date: Mon,  6 Dec 2021 17:27:56 +0000	[thread overview]
Message-ID: <163881166323.164191.18202687707902578999.b4-ty@arm.com> (raw)
In-Reply-To: <20211206004736.1520989-1-reijiw@google.com>

On Sun, 5 Dec 2021 16:47:34 -0800, Reiji Watanabe wrote:
> DCZID_EL0.DZP indicates whether or not use of DC {ZVA,GVA,GZVA} is
> prohibited. However, clear_page(), mte_set_mem_tag_range(), and
> mte_zero_clear_page_tags() use those instructions without checking it.
> 
> Fix those functions not to use DC {ZVA,GVA,GZVA} when DCZID_EL0.DZP == 1.
> 
> v4:
>  - Fix mte_zero_clear_page_tags to use stz2g instead of stzg. [Catalin]
>  - Fix mte_zero_clear_page_tags to use MTE_GRANULE_SIZE instead
>    of 16. [Catalin]
> 
> [...]

Applied to arm64 (for-next/cache-ops-dzp), thanks!

[1/2] arm64: clear_page() shouldn't use DC ZVA when DCZID_EL0.DZP == 1
      https://git.kernel.org/arm64/c/f0616abd4e67
[2/2] arm64: mte: DC {GVA,GZVA} shouldn't be used when DCZID_EL0.DZP == 1
      https://git.kernel.org/arm64/c/685e2564daa1

-- 
Catalin


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

      parent reply	other threads:[~2021-12-06 17:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-06  0:47 [PATCH v4 0/2] arm64: DC {ZVA,GVA,GZVA} shouldn't be used when DCZID_EL0.DZP == 1 Reiji Watanabe
2021-12-06  0:47 ` [PATCH v4 1/2] arm64: clear_page() shouldn't use DC ZVA " Reiji Watanabe
2021-12-06  0:47 ` [PATCH v4 2/2] arm64: mte: DC {GVA,GZVA} shouldn't be used " Reiji Watanabe
2021-12-06 17:27 ` Catalin Marinas [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=163881166323.164191.18202687707902578999.b4-ty@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=eugenis@google.com \
    --cc=guanghuifeng@linux.alibaba.com \
    --cc=jingzhangos@google.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    --cc=maz@kernel.org \
    --cc=oupton@google.com \
    --cc=pcc@google.com \
    --cc=pshier@google.com \
    --cc=rananta@google.com \
    --cc=reijiw@google.com \
    --cc=ricarkol@google.com \
    --cc=robin.murphy@arm.com \
    --cc=will@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.