[PATCH v5 0/2] Clean up MMU translation

Bruno Larsen (billionai) posted 2 patches 2 years, 10 months ago
Failed in applying to current master (apply log)
target/ppc/mmu-book3s-v3.h | 14 +------------
target/ppc/mmu-books.h     | 30 ++++++++++++++++++++++++++++
target/ppc/mmu-hash32.c    | 40 ++++++++++++++++++--------------------
target/ppc/mmu-hash32.h    |  2 +-
target/ppc/mmu_helper.c    |  2 +-
5 files changed, 52 insertions(+), 36 deletions(-)
create mode 100644 target/ppc/mmu-books.h
[PATCH v5 0/2] Clean up MMU translation
Posted by Bruno Larsen (billionai) 2 years, 10 months ago
This is the final change relating to mmu_idx permission checking,
correcting a technical hiccup on how it was handled beforehand.
It also introduces a common header to be used by all BookS MMUs to help
with common code in the future.

Based-on: dgibson's ppc-for-6.1 tree

Changes for v5:
 * introduced a common header to also change hash32

Changes for v4:
 * added r-b and t-b tags
 * changes commit message of the first patch
 * removed function parameters that were no longer used

Changes for v3:
 * removed patches that were already applied
 * fixed comments on last patch
 * added 2 new patches

Changes for v2:
 * rebase on ppc-for-6.1
 * added the bugfix

Bruno Larsen (billionai) (2):
  target/ppc: introduce mmu-books.h
  target/ppc: change ppc_hash32_xlate to use mmu_idx

 target/ppc/mmu-book3s-v3.h | 14 +------------
 target/ppc/mmu-books.h     | 30 ++++++++++++++++++++++++++++
 target/ppc/mmu-hash32.c    | 40 ++++++++++++++++++--------------------
 target/ppc/mmu-hash32.h    |  2 +-
 target/ppc/mmu_helper.c    |  2 +-
 5 files changed, 52 insertions(+), 36 deletions(-)
 create mode 100644 target/ppc/mmu-books.h

-- 
2.17.1


Re: [PATCH v5 0/2] Clean up MMU translation
Posted by David Gibson 2 years, 10 months ago
On Tue, Jul 06, 2021 at 12:03:14PM -0300, Bruno Larsen (billionai) wrote:
> This is the final change relating to mmu_idx permission checking,
> correcting a technical hiccup on how it was handled beforehand.
> It also introduces a common header to be used by all BookS MMUs to help
> with common code in the future.
> 
> Based-on: dgibson's ppc-for-6.1 tree

Applied to ppc-for-6.1, thanks.

> 
> Changes for v5:
>  * introduced a common header to also change hash32
> 
> Changes for v4:
>  * added r-b and t-b tags
>  * changes commit message of the first patch
>  * removed function parameters that were no longer used
> 
> Changes for v3:
>  * removed patches that were already applied
>  * fixed comments on last patch
>  * added 2 new patches
> 
> Changes for v2:
>  * rebase on ppc-for-6.1
>  * added the bugfix
> 
> Bruno Larsen (billionai) (2):
>   target/ppc: introduce mmu-books.h
>   target/ppc: change ppc_hash32_xlate to use mmu_idx
> 
>  target/ppc/mmu-book3s-v3.h | 14 +------------
>  target/ppc/mmu-books.h     | 30 ++++++++++++++++++++++++++++
>  target/ppc/mmu-hash32.c    | 40 ++++++++++++++++++--------------------
>  target/ppc/mmu-hash32.h    |  2 +-
>  target/ppc/mmu_helper.c    |  2 +-
>  5 files changed, 52 insertions(+), 36 deletions(-)
>  create mode 100644 target/ppc/mmu-books.h
> 

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson