mbox series

[kvm-unit-tests,v3,0/6] s390x: PV fixups

Message ID 20221021063902.10878-1-frankja@linux.ibm.com (mailing list archive)
Headers show
Series s390x: PV fixups | expand

Message

Janosch Frank Oct. 21, 2022, 6:38 a.m. UTC
A small set of patches that clean up the PV snippet handling.

v3:
	* Dropped asm snippet linker script patch for now
	* Replaced memalign_pages_flags() with memalign_pages()
	* PV ASCEs will now recieve DT and TL fields from the main test ASCE

v2:
	* Macro uses 64bit PSW mask
	* SBLK reset on PV destroy and uv_init() early return have been split off


Janosch Frank (6):
  s390x: snippets: asm: Add a macro to write an exception PSW
  s390x: MAKEFILE: Use $< instead of pathsubst
  lib: s390x: sie: Improve validity handling and make it vm specific
  lib: s390x: Use a new asce for each PV guest
  lib: s390x: Enable reusability of VMs that were in PV mode
  lib: s390x: sie: Properly populate SCA

 lib/s390x/asm-offsets.c                  |  2 ++
 lib/s390x/sie.c                          | 37 +++++++++++++-------
 lib/s390x/sie.h                          | 43 ++++++++++++++++++++++--
 lib/s390x/uv.c                           | 35 +++++++++++++++++--
 lib/s390x/uv.h                           |  5 ++-
 s390x/Makefile                           |  2 +-
 s390x/cpu.S                              |  6 ++++
 s390x/snippets/asm/macros.S              | 28 +++++++++++++++
 s390x/snippets/asm/snippet-pv-diag-288.S |  4 +--
 s390x/snippets/asm/snippet-pv-diag-500.S |  6 ++--
 10 files changed, 140 insertions(+), 28 deletions(-)
 create mode 100644 s390x/snippets/asm/macros.S

Comments

Claudio Imbrenda Oct. 21, 2022, 7:46 a.m. UTC | #1
On Fri, 21 Oct 2022 06:38:56 +0000
Janosch Frank <frankja@linux.ibm.com> wrote:

> A small set of patches that clean up the PV snippet handling.
> 
> v3:
> 	* Dropped asm snippet linker script patch for now

shame, I really liked that patch (modulo the nits)

> 	* Replaced memalign_pages_flags() with memalign_pages()
> 	* PV ASCEs will now recieve DT and TL fields from the main test ASCE
> 
> v2:
> 	* Macro uses 64bit PSW mask
> 	* SBLK reset on PV destroy and uv_init() early return have been split off
> 
> 
> Janosch Frank (6):
>   s390x: snippets: asm: Add a macro to write an exception PSW
>   s390x: MAKEFILE: Use $< instead of pathsubst
>   lib: s390x: sie: Improve validity handling and make it vm specific
>   lib: s390x: Use a new asce for each PV guest
>   lib: s390x: Enable reusability of VMs that were in PV mode
>   lib: s390x: sie: Properly populate SCA
> 
>  lib/s390x/asm-offsets.c                  |  2 ++
>  lib/s390x/sie.c                          | 37 +++++++++++++-------
>  lib/s390x/sie.h                          | 43 ++++++++++++++++++++++--
>  lib/s390x/uv.c                           | 35 +++++++++++++++++--
>  lib/s390x/uv.h                           |  5 ++-
>  s390x/Makefile                           |  2 +-
>  s390x/cpu.S                              |  6 ++++
>  s390x/snippets/asm/macros.S              | 28 +++++++++++++++
>  s390x/snippets/asm/snippet-pv-diag-288.S |  4 +--
>  s390x/snippets/asm/snippet-pv-diag-500.S |  6 ++--
>  10 files changed, 140 insertions(+), 28 deletions(-)
>  create mode 100644 s390x/snippets/asm/macros.S
>
Janosch Frank Oct. 21, 2022, 8:41 a.m. UTC | #2
On 10/21/22 09:46, Claudio Imbrenda wrote:
> On Fri, 21 Oct 2022 06:38:56 +0000
> Janosch Frank <frankja@linux.ibm.com> wrote:
> 
>> A small set of patches that clean up the PV snippet handling.
>>
>> v3:
>> 	* Dropped asm snippet linker script patch for now
> 
> shame, I really liked that patch (modulo the nits)

You'll see it again soonish with another fix series.
There are still a lot of patches that I need to upstream. :)

> 
>> 	* Replaced memalign_pages_flags() with memalign_pages()
>> 	* PV ASCEs will now recieve DT and TL fields from the main test ASCE
>>
>> v2:
>> 	* Macro uses 64bit PSW mask
>> 	* SBLK reset on PV destroy and uv_init() early return have been split off
>>
>>
>> Janosch Frank (6):
>>    s390x: snippets: asm: Add a macro to write an exception PSW
>>    s390x: MAKEFILE: Use $< instead of pathsubst
>>    lib: s390x: sie: Improve validity handling and make it vm specific
>>    lib: s390x: Use a new asce for each PV guest
>>    lib: s390x: Enable reusability of VMs that were in PV mode
>>    lib: s390x: sie: Properly populate SCA
>>
>>   lib/s390x/asm-offsets.c                  |  2 ++
>>   lib/s390x/sie.c                          | 37 +++++++++++++-------
>>   lib/s390x/sie.h                          | 43 ++++++++++++++++++++++--
>>   lib/s390x/uv.c                           | 35 +++++++++++++++++--
>>   lib/s390x/uv.h                           |  5 ++-
>>   s390x/Makefile                           |  2 +-
>>   s390x/cpu.S                              |  6 ++++
>>   s390x/snippets/asm/macros.S              | 28 +++++++++++++++
>>   s390x/snippets/asm/snippet-pv-diag-288.S |  4 +--
>>   s390x/snippets/asm/snippet-pv-diag-500.S |  6 ++--
>>   10 files changed, 140 insertions(+), 28 deletions(-)
>>   create mode 100644 s390x/snippets/asm/macros.S
>>
>