All of lore.kernel.org
 help / color / mirror / Atom feed
From: Julien Grall <julien.grall@arm.com>
To: xen-devel@lists.xenproject.org
Cc: Oleksandr_Tyshchenko@epam.com,
	Julien Grall <julien.grall@arm.com>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Andrii_Anisov@epam.com
Subject: [PATCH v2 0/7] xen/arm: TLB flush helpers rework
Date: Wed,  8 May 2019 17:15:56 +0100	[thread overview]
Message-ID: <20190508161603.21964-1-julien.grall@arm.com> (raw)

Hi all,

I spent the last few months looking at Xen boot and memory management to make
it simpler, more efficient and also more compliant in respect of the Arm Arm.

The full rework is quite consequence (already 150 patches and I haven't yet
finished!), so I am planning to send in smaller part over the next few weeks.

In this first part, I focus on reworking how we flush the TLBs in Xen.

Cheers,

Julien Grall (7):
  xen/arm: mm: Consolidate setting SCTLR_EL2.WXN in a single place
  xen/arm: Remove flush_xen_text_tlb_local()
  xen/arm: tlbflush: Clarify the TLB helpers name
  xen/arm: page: Clarify the Xen TLBs helpers name
  xen/arm: Gather all TLB flush helpers in tlbflush.h
  xen/arm: tlbflush: Rework TLB helpers
  xen/arm: mm: Flush the TLBs even if a mapping failed in
    create_xen_entries

 xen/arch/arm/mm.c                    | 69 ++++++++++++++++++++++-----------
 xen/arch/arm/p2m.c                   |  6 +--
 xen/arch/arm/smp.c                   |  2 +-
 xen/arch/arm/traps.c                 |  2 +-
 xen/include/asm-arm/arm32/flushtlb.h | 71 +++++++++++++++++++---------------
 xen/include/asm-arm/arm32/page.h     | 48 ++++-------------------
 xen/include/asm-arm/arm64/flushtlb.h | 75 ++++++++++++++++++++----------------
 xen/include/asm-arm/arm64/page.h     | 49 +++--------------------
 xen/include/asm-arm/flushtlb.h       | 38 ++++++++++++++++++
 xen/include/asm-arm/page.h           | 38 ------------------
 10 files changed, 184 insertions(+), 214 deletions(-)

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

WARNING: multiple messages have this Message-ID (diff)
From: Julien Grall <julien.grall@arm.com>
To: xen-devel@lists.xenproject.org
Cc: Oleksandr_Tyshchenko@epam.com,
	Julien Grall <julien.grall@arm.com>,
	Stefano Stabellini <sstabellini@kernel.org>,
	Andrii_Anisov@epam.com
Subject: [Xen-devel] [PATCH v2 0/7] xen/arm: TLB flush helpers rework
Date: Wed,  8 May 2019 17:15:56 +0100	[thread overview]
Message-ID: <20190508161603.21964-1-julien.grall@arm.com> (raw)
Message-ID: <20190508161556.UuWy7nP6ftlCrhY1yi-6sUWYmorA5Bd1GD3wrZ9T7kY@z> (raw)

Hi all,

I spent the last few months looking at Xen boot and memory management to make
it simpler, more efficient and also more compliant in respect of the Arm Arm.

The full rework is quite consequence (already 150 patches and I haven't yet
finished!), so I am planning to send in smaller part over the next few weeks.

In this first part, I focus on reworking how we flush the TLBs in Xen.

Cheers,

Julien Grall (7):
  xen/arm: mm: Consolidate setting SCTLR_EL2.WXN in a single place
  xen/arm: Remove flush_xen_text_tlb_local()
  xen/arm: tlbflush: Clarify the TLB helpers name
  xen/arm: page: Clarify the Xen TLBs helpers name
  xen/arm: Gather all TLB flush helpers in tlbflush.h
  xen/arm: tlbflush: Rework TLB helpers
  xen/arm: mm: Flush the TLBs even if a mapping failed in
    create_xen_entries

 xen/arch/arm/mm.c                    | 69 ++++++++++++++++++++++-----------
 xen/arch/arm/p2m.c                   |  6 +--
 xen/arch/arm/smp.c                   |  2 +-
 xen/arch/arm/traps.c                 |  2 +-
 xen/include/asm-arm/arm32/flushtlb.h | 71 +++++++++++++++++++---------------
 xen/include/asm-arm/arm32/page.h     | 48 ++++-------------------
 xen/include/asm-arm/arm64/flushtlb.h | 75 ++++++++++++++++++++----------------
 xen/include/asm-arm/arm64/page.h     | 49 +++--------------------
 xen/include/asm-arm/flushtlb.h       | 38 ++++++++++++++++++
 xen/include/asm-arm/page.h           | 38 ------------------
 10 files changed, 184 insertions(+), 214 deletions(-)

-- 
2.11.0


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

             reply	other threads:[~2019-05-08 16:16 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-08 16:15 Julien Grall [this message]
2019-05-08 16:15 ` [Xen-devel] [PATCH v2 0/7] xen/arm: TLB flush helpers rework Julien Grall
2019-05-08 16:15 ` [PATCH v2 1/7] xen/arm: mm: Consolidate setting SCTLR_EL2.WXN in a single place Julien Grall
2019-05-08 16:15   ` [Xen-devel] " Julien Grall
2019-05-09 19:52   ` Stefano Stabellini
2019-05-09 19:52     ` [Xen-devel] " Stefano Stabellini
2019-05-08 16:15 ` [PATCH v2 2/7] xen/arm: Remove flush_xen_text_tlb_local() Julien Grall
2019-05-08 16:15   ` [Xen-devel] " Julien Grall
2019-05-09 20:03   ` Stefano Stabellini
2019-05-09 20:03     ` [Xen-devel] " Stefano Stabellini
2019-05-09 20:17     ` Julien Grall
2019-05-09 20:17       ` [Xen-devel] " Julien Grall
2019-05-08 16:15 ` [PATCH v2 3/7] xen/arm: tlbflush: Clarify the TLB helpers name Julien Grall
2019-05-08 16:15   ` [Xen-devel] " Julien Grall
2019-05-09 20:05   ` Stefano Stabellini
2019-05-09 20:05     ` [Xen-devel] " Stefano Stabellini
2019-05-08 16:16 ` [PATCH v2 4/7] xen/arm: page: Clarify the Xen TLBs " Julien Grall
2019-05-08 16:16   ` [Xen-devel] " Julien Grall
2019-05-09 20:13   ` Stefano Stabellini
2019-05-09 20:13     ` [Xen-devel] " Stefano Stabellini
2019-05-09 20:32     ` Julien Grall
2019-05-09 20:32       ` [Xen-devel] " Julien Grall
2019-05-09 21:46       ` Julien Grall
2019-05-09 21:46         ` [Xen-devel] " Julien Grall
2019-05-10 14:38         ` Julien Grall
2019-05-10 14:38           ` [Xen-devel] " Julien Grall
2019-05-10 17:57           ` Stefano Stabellini
2019-05-10 17:57             ` [Xen-devel] " Stefano Stabellini
2019-05-10 18:35             ` Julien Grall
2019-05-10 18:35               ` [Xen-devel] " Julien Grall
2019-05-20 21:01               ` Stefano Stabellini
2019-05-20 21:01                 ` [Xen-devel] " Stefano Stabellini
2019-05-20 21:59                 ` Julien Grall
2019-05-20 21:59                   ` [Xen-devel] " Julien Grall
2019-06-10 20:51                   ` Stefano Stabellini
2019-06-10 21:03                     ` Julien Grall
2019-06-11 18:15                       ` Stefano Stabellini
2019-05-08 16:16 ` [PATCH v2 5/7] xen/arm: Gather all TLB flush helpers in tlbflush.h Julien Grall
2019-05-08 16:16   ` [Xen-devel] " Julien Grall
2019-05-09 20:17   ` Stefano Stabellini
2019-05-09 20:17     ` [Xen-devel] " Stefano Stabellini
2019-05-08 16:16 ` [PATCH v2 6/7] xen/arm: tlbflush: Rework TLB helpers Julien Grall
2019-05-08 16:16   ` [Xen-devel] " Julien Grall
2019-05-09 20:32   ` Stefano Stabellini
2019-05-09 20:32     ` [Xen-devel] " Stefano Stabellini
2019-05-09 20:43     ` Julien Grall
2019-05-09 20:43       ` [Xen-devel] " Julien Grall
2019-05-09 21:37   ` Stefano Stabellini
2019-05-09 21:37     ` [Xen-devel] " Stefano Stabellini
2019-05-08 16:16 ` [PATCH v2 7/7] xen/arm: mm: Flush the TLBs even if a mapping failed in create_xen_entries Julien Grall
2019-05-08 16:16   ` [Xen-devel] " Julien Grall
2019-05-09 20:40   ` Stefano Stabellini
2019-05-09 20:40     ` [Xen-devel] " Stefano Stabellini

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=20190508161603.21964-1-julien.grall@arm.com \
    --to=julien.grall@arm.com \
    --cc=Andrii_Anisov@epam.com \
    --cc=Oleksandr_Tyshchenko@epam.com \
    --cc=sstabellini@kernel.org \
    --cc=xen-devel@lists.xenproject.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.