hich point the user might actually be able to configure something
that is migratable.
Suggested-by: Eric Auger
Signed-off-by: Cornelia Huck
---
Notes:
- This currently prints the list of failing registers for every call to
write_list_to_kvmstate(), in particular for every cpu -- we might
On Tue, Jul 15 2025, Daniel P. Berrangé wrote:
> On Tue, Jul 15, 2025 at 09:16:24AM -0700, Andrea Bolognani wrote:
>> On Tue, Jul 15, 2025 at 05:02:54PM +0100, Daniel P. Berrangé wrote:
>> > On Tue, Jul 15, 2025 at 05:44:25PM +0200, Cornelia Huck wrote:
>> > > Hmm.
On Tue, Jul 15 2025, Andrea Bolognani wrote:
> On Tue, Jun 10, 2025 at 06:12:12PM +0100, Daniel P. Berrangé wrote:
>> On Tue, Jun 10, 2025 at 04:32:59PM +0200, Cornelia Huck wrote:
>> > The Intel 6300 Enterprise SouthBridge is a south bridge for a more or
>> > less ob
100644 linux-headers/asm-arm/unistd-oabi.h
> delete mode 100644 linux-headers/asm-arm/unistd.h
Acked-by: Cornelia Huck
Signed-off-by: Cornelia Huck
---
target/arm/cpu-sysregs.h.inc | 2 ++
target/arm/cpu.h | 2 --
target/arm/helper.c | 4 ++--
target/arm/tcg/cpu64.c | 16
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/target/arm/cpu-sysregs.h.inc b
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c| 2 +-
target/arm/cpu-sysregs.h.inc | 1 +
target/arm/cpu.h | 1 -
target/arm/cpu64.c | 4 ++--
target/arm/helper.c | 2 +-
target/arm/tcg/cpu-v7m.c | 12 ++--
target/arm/tcg/cpu32.c
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c| 2 +-
target/arm/cpu-sysregs.h.inc | 1 +
target/arm/cpu.h | 3 +--
target/arm/cpu64.c | 4 ++--
target/arm/helper.c | 2 +-
target/arm/tcg/cpu-v7m.c | 4 ++--
target/arm/tcg/cpu32.c
While a trailing comma is not broken for SET_IDREG invocations, it
does look odd; use a semicolon instead.
Fixes: f1fd81291c91 ("arm/cpu: Store aa64mmfr0-3 into the idregs array")
Fixes: def3f1c1026a ("arm/cpu: Store aa64dfr0/1 into the idregs array")
Signed-off-by: Cornelia H
Fixes: 804cfc7eedb7 ("arm/cpu: Store aa64isar0/aa64zfr0 into the idregs arrays")
Signed-off-by: Cornelia Huck
---
target/arm/kvm.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/arm/kvm.c b/target/arm/kvm.c
index 426f8b159e82..8ab0d692d36a 100644
--- a/
This series tries to address some low-hanging fruit on top of target-arm.next
(move some more registers, some cosmetics; see discussion following
<20250617153931.1330449-14-coh...@redhat.com>)
Also available at https://gitlab.com/cohuck/qemu id-reg-fixup-v1
Cornelia Huck (5):
arm/cpu:
On Wed, Jul 02 2025, Magnus Kulke wrote:
> On Wed, Jul 02, 2025 at 11:11:41AM +0200, Cornelia Huck wrote:
>> On Tue, Jul 01 2025, Magnus Kulke wrote:
>>
>> > Introduce headers for the Microsoft Hypervisor (MSHV) userspace ABI,
>> > including IOCTLs and stru
On Tue, Jul 01 2025, Magnus Kulke wrote:
> Introduce headers for the Microsoft Hypervisor (MSHV) userspace ABI,
> including IOCTLs and structures used to interface with the hypervisor.
>
> These definitions are based on the upstream Linux MSHV interface and
> will be used by the MSHV accelerator
On Tue, Jul 01 2025, Peter Maydell wrote:
> On Tue, 1 Jul 2025 at 17:07, Cornelia Huck wrote:
>>
>> On Mon, Jun 30 2025, Peter Maydell wrote:
>>
>> > On Tue, 17 Jun 2025 at 16:41, Cornelia Huck wrote:
>> >>
>> >> Generated agai
On Wed, Jul 02 2025, Jinqian Yang wrote:
> On 2025/4/15 0:38, Cornelia Huck wrote:
>> From: Eric Auger
>>
>> We want to give a chance to override the value of host ID regs.
>> In a previous patch we made sure all their values could be fetched
>> through kvm
On Mon, Jun 30 2025, Peter Maydell wrote:
> On Tue, 17 Jun 2025 at 16:41, Cornelia Huck wrote:
>>
>> Generated against Linux 6.15.
>>
>> Reviewed-by: Sebastian Ott
>> Reviewed-by: Eric Auger
>> Signed-off-by: Cornelia Huck
>
> Stripping out all
On Mon, Jun 30 2025, Peter Maydell wrote:
> On Tue, 17 Jun 2025 at 16:39, Cornelia Huck wrote:
>>
>> Mostly addressed Peter's feedback:
>> - make sure every inbetween stage compiles (also fixed some bonus issues)
>> - try to make the scripts more robust, add a n
On Tue, Jun 17 2025, Cornelia Huck wrote:
> Mostly addressed Peter's feedback:
> - make sure every inbetween stage compiles (also fixed some bonus issues)
> - try to make the scripts more robust, add a note the generated file,
> and make sure to grab only registers we actu
On Tue, Jun 10 2025, Cornelia Huck wrote:
> The i6300esb watchdog device is generic enough to be used on any PCI
> platform; however, having an "Intel" device on a non-x86 platform looks
> a bit odd. Just call it a "virtual" device instead, and also fix an old
>
On Wed, Jun 25 2025, Peter Maydell wrote:
> On Wed, 25 Jun 2025 at 10:10, Eric Auger wrote:
>> However there are other checkpatch errors besides the one you reported, in
>> 52873a54ad arm/cpu: Store aa64isar0/aa64zfr0 into the idregs arrays
>> ERROR: line over 90 characters
>> #388: FILE: target
On Wed, Jun 25 2025, Eric Auger wrote:
> Hi Connie,
>
> On 6/17/25 5:45 PM, Cornelia Huck wrote:
>> On Tue, Jun 17 2025, Cornelia Huck wrote:
>>
>>> diff --git a/scripts/arm-gen-cpu-sysregs-header.awk
>>> b/scripts/arm-gen-cpu-sysregs-header.awk
>>
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-sysregs.h | 42 +++
target/arm/cpu-sysregs.h.inc | 36 ++
target/arm/cpu.h | 49
target/arm
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 12 ++--
target/arm/cpu-features.h | 36 +-
target/arm/cpu.c | 24 +++
target/arm/cpu.h | 7
We have fd, so might as well neaten things up.
Suggested-by: Eric Auger
Reviewed-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/kvm.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/target/arm/kvm.c b/target/arm/kvm.c
index 3df046b2b911..70919aedd0a4
Generated against Linux 6.15.
Reviewed-by: Sebastian Ott
Reviewed-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-sysregs.h.inc | 43 +---
1 file changed, 30 insertions(+), 13 deletions(-)
diff --git a/target/arm/cpu-sysregs.h.inc b/target/arm
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 74 +++
target/arm/cpu.h | 4 ---
target/arm/cpu64.c| 8 ++---
target/arm
On Tue, Jun 17 2025, Cornelia Huck wrote:
> diff --git a/scripts/arm-gen-cpu-sysregs-header.awk
> b/scripts/arm-gen-cpu-sysregs-header.awk
> new file mode 100755
> index ..f92bbbafa727
> --- /dev/null
> +++ b/scripts/arm-gen-cpu-sysregs-header.awk
> @@ -0,0 +1,3
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 2 +-
target/arm/cpu-features.h | 16
target/arm/cpu.c | 13 +
target/arm/cpu.h
defines for all system registers.
[CH: update to handle current kernel sysregs structure, and to emit
the re-worked register structures; cpu properties will be added
later]
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
MAINTAINERS
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 44 +++
target/arm/cpu.c | 13
target/arm/cpu.h | 2
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 6 +++---
target/arm/cpu.h | 1 -
target/arm/cpu64.c| 7 ++-
target/arm/helper.c | 2 +-
target/arm
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 8 ++--
target/arm/cpu-features.h | 18
target/arm/cpu.h | 6 ---
target/arm/cpu64.c| 16
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 40 -
target/arm/cpu.c | 29
target/arm/cpu.h | 2
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 16
target/arm/cpu.c | 15 +--
target/arm/cpu.h | 2 --
target/arm/cpu64.c
ed
for unintended changes
- most of the hard work that Eric had been doing; all new bugs in there
are my own :)
Cornelia Huck (2):
arm/cpu: switch to a generated cpu-sysregs.h.inc
arm/kvm: use fd instead of fdarray[2]
Eric Auger (12):
arm/cpu: Add sysreg definitions in cpu-sysregs.
From: Eric Auger
Also add kvm accessors for storing host features into idregs.
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 57 ---
target/arm/cpu.c
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 5 ++--
target/arm/cpu-features.h | 10
target/arm/cpu.c | 8 +++---
target/arm/cpu.h | 3
On Thu, Jun 12 2025, Peter Maydell wrote:
> On Thu, 15 May 2025 at 16:40, Cornelia Huck wrote:
>>
>> Generated against Linux 6.14-rc1.
>>
>> Reviewed-by: Sebastian Ott
>> Reviewed-by: Eric Auger
>> Signed-off-by: Cornelia Huck
>> ---
>
On Thu, Jun 12 2025, Peter Maydell wrote:
> On Thu, 12 Jun 2025 at 16:36, Cornelia Huck wrote:
>>
>> On Thu, Jun 12 2025, Peter Maydell wrote:
>>
>> > On Thu, 15 May 2025 at 16:40, Cornelia Huck wrote:
>> >>
>> >> From: Eric Auger
>>
On Thu, Jun 12 2025, Peter Maydell wrote:
> On Thu, 15 May 2025 at 16:40, Cornelia Huck wrote:
>>
>> From: Eric Auger
>>
>> Introduce scripts that automate the generation of system register
>> definitions from a given linux source tree arch/arm64/tools/sysreg
On Thu, Jun 12 2025, Peter Maydell wrote:
> On Thu, 15 May 2025 at 16:40, Cornelia Huck wrote:
>>
>> From: Eric Auger
>>
>> Reviewed-by: Richard Henderson
>> Reviewed-by: Sebastian Ott
>> Signed-off-by: Eric Auger
>> Signed-off-by: Cornelia Huc
On Thu, Jun 12 2025, Peter Maydell wrote:
> On Thu, 15 May 2025 at 16:39, Cornelia Huck wrote:
>>
>> From: Eric Auger
>>
>> Also add kvm accessors for storing host features into idregs.
>>
>> Reviewed-by: Richard Henderson
>> Reviewed-by: Sebastian
There's no ib6300esb device; let's correct the typo in the config option.
Signed-off-by: Cornelia Huck
---
hw/watchdog/Kconfig | 2 +-
hw/watchdog/meson.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/watchdog/Kconfig b/hw/watchdog/Kconfig
index 86
The i6300esb watchdog device is generic enough to be used on any PCI
platform; however, having an "Intel" device on a non-x86 platform looks
a bit odd. Just call it a "virtual" device instead, and also fix an old
typo for the config option while at it.
Cornelia
examples on how to set up a virtual watchdog.
Let's use "virtual i6300ESB" in the description to make clear that
this device will work just fine on non-Intel platforms.
Signed-off-by: Cornelia Huck
---
hw/watchdog/wdt_i6300esb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Friendly ping... anything else that needs to happen here?
On Thu, May 15 2025, Cornelia Huck wrote:
> Some small fixes, including fixing up/adding SPDX identifiers, keeping the
> series bisectable, and updating MAINTAINERS (please check if that's ok.)
>
> Also available at
>
On Wed, Jun 04 2025, Shameerali Kolothum Thodi
wrote:
>> -Original Message-
>> From: Cornelia Huck
>> Sent: Wednesday, June 4, 2025 1:36 PM
>> To: Shameerali Kolothum Thodi
>> ; eric.auger@gmail.com;
>> eric.au...@redhat.com; qemu-devel@non
On Wed, Jun 04 2025, Shameerali Kolothum Thodi
wrote:
>> -Original Message-
>> From: Cornelia Huck
>> Sent: Tuesday, June 3, 2025 4:15 PM
>> To: Shameerali Kolothum Thodi
>> ; eric.auger@gmail.com;
>> eric.au...@redhat.com; qemu-devel@non
On Tue, May 27 2025, Cornelia Huck wrote:
> On Mon, May 26 2025, Cornelia Huck wrote:
>
>> On Fri, May 23 2025, Shameerali Kolothum Thodi
>> wrote:
>>
>>> Hi,
>>>
>>>> -Original Message-
>>>> From: Cornelia H
On Mon, May 26 2025, Cornelia Huck wrote:
> On Fri, May 23 2025, Shameerali Kolothum Thodi
> wrote:
>
>> Hi,
>>
>>> -Original Message-
>>> From: Cornelia Huck
>>> Sent: Monday, April 14, 2025 5:39 PM
>>> To: eric.auger@gma
On Fri, May 23 2025, Shameerali Kolothum Thodi
wrote:
> Hi,
>
>> -Original Message-----
>> From: Cornelia Huck
>> Sent: Monday, April 14, 2025 5:39 PM
>> To: eric.auger@gmail.com; eric.au...@redhat.com; qemu-
>> de...@nongnu.org; qemu-..
On Fri, May 23 2025, Shameerali Kolothum Thodi
wrote:
>> -Original Message-
>> From: Cornelia Huck
>> Sent: Monday, April 14, 2025 5:39 PM
>> To: eric.auger@gmail.com; eric.au...@redhat.com; qemu-
>> de...@nongnu.org; qemu-...@nongnu.org; kvm...@
On Tue, May 13 2025, Eric Auger wrote:
> On 4/14/25 6:38 PM, Cornelia Huck wrote:
>> From: Eric Auger
>>
>> At the moment kvm_arm_get_host_cpu_features() reads a subset of the
>> ID regs. As we want to introduce properties for all writable ID reg
>> fields, we w
On Tue, Apr 15 2025, Philippe Mathieu-Daudé wrote:
> On 14/4/25 18:38, Cornelia Huck wrote:
>> From: Eric Auger
>>
>> Introduce a script that automates the generation of system register
>> properties definitions from a given linux source tree
>> arch/arm64/t
On Fri, May 16 2025, Daniel P. Berrangé wrote:
> On Fri, May 16, 2025 at 04:51:34PM +0200, Cornelia Huck wrote:
>> On Wed, May 14 2025, Daniel P. Berrangé wrote:
>>
>> > On Wed, May 14, 2025 at 05:36:58PM +0200, Cornelia Huck wrote:
>> >> On Tue, Ma
On Wed, May 14 2025, Daniel P. Berrangé wrote:
> On Wed, May 14, 2025 at 05:36:58PM +0200, Cornelia Huck wrote:
>> On Tue, May 13 2025, Daniel P. Berrangé wrote:
>>
>> > On Mon, Apr 14, 2025 at 06:38:47PM +0200, Cornelia Huck wrote:
>> >> From: Eric Auge
On Tue, May 13 2025, Daniel P. Berrangé wrote:
> On Mon, Apr 14, 2025 at 06:38:47PM +0200, Cornelia Huck wrote:
>> From: Eric Auger
>>
>> If the interface for writable ID registers is available, expose uint64
>> SYSREG properties for writable ID reg fields ex
On Tue, May 13 2025, Eric Auger wrote:
> On 4/14/25 6:38 PM, Cornelia Huck wrote:
>> From: Eric Auger
(...)
>> +static bool
>> +kvm_arm_get_host_cpu_features(ARMCPU *cpu, ARMHostCPUFeatures *ahcf,
>> + bool exhaustive)
> maybe the exh
defines for all system registers.
[CH: update to handle current kernel sysregs structure, and to emit
the re-worked register structures; cpu properties will be added
later]
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
MAINTAINERS
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 6 +++---
target/arm/cpu.h | 1 -
target/arm/cpu64.c| 7 ++-
target/arm/helper.c | 2 +-
target/arm
ux sysregs file
I think that file is still our best bet to generate the descriptions
easily, and updating the definitions is a manual step that can be checked
for unintended changes
- most of the hard work that Eric had been doing; all new bugs in there
are my own :)
Cornelia Huck (
Generated against Linux 6.14-rc1.
Reviewed-by: Sebastian Ott
Reviewed-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-sysregs.h.inc | 43 +---
1 file changed, 30 insertions(+), 13 deletions(-)
diff --git a/target/arm/cpu-sysregs.h.inc b/target
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 12 ++--
target/arm/cpu-features.h | 36 +-
target/arm/cpu.c | 24 +++
target/arm/cpu.h | 7
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 5 +-
target/arm/cpu-features.h | 10 ++--
target/arm/cpu.c | 8 +--
target/arm/cpu.h | 3 -
target/arm
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 2 +-
target/arm/cpu-features.h | 16
target/arm/cpu.c | 13 +
target/arm/cpu.h
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 16
target/arm/cpu.c | 15 +--
target/arm/cpu.h | 2 --
target/arm/cpu64.c
From: Eric Auger
Also add kvm accessors for storing host features into idregs.
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 57 ---
target/arm/cpu.c
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 8 ++--
target/arm/cpu-features.h | 18
target/arm/cpu.h | 6 ---
target/arm/cpu64.c| 16
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 44 +++
target/arm/cpu.c | 13
target/arm/cpu.h | 2
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 74 +++
target/arm/cpu.h | 4 ---
target/arm/cpu64.c| 8 ++---
target/arm
We have fd, so might as well neaten things up.
Suggested-by: Eric Auger
Reviewed-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/kvm.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/target/arm/kvm.c b/target/arm/kvm.c
index 6c665334658b..a954a08a0fc3
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 40 -
target/arm/cpu.c | 29
target/arm/cpu.h | 2
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-sysregs.h | 42 +++
target/arm/cpu-sysregs.h.inc | 35 ++
target/arm/cpu.h | 49
target/arm
On Tue, May 13 2025, Daniel P. Berrangé wrote:
> On Mon, Apr 14, 2025 at 06:38:47PM +0200, Cornelia Huck wrote:
>> From: Eric Auger
>>
>> If the interface for writable ID registers is available, expose uint64
>> SYSREG properties for writable ID reg fields ex
On Tue, May 13 2025, Daniel P. Berrangé wrote:
> On Mon, Apr 14, 2025 at 06:38:41PM +0200, Cornelia Huck wrote:
>> From: Eric Auger
>>
>> Introduce a script that automates the generation of system register
>> properties definitions from a given linux source tree
On Tue, May 13 2025, Daniel P. Berrangé wrote:
> On Tue, May 06, 2025 at 10:52:22AM +0200, Cornelia Huck wrote:
>> From: Eric Auger
>>
>> Also add kvm accessors for storing host features into idregs.
>>
>> Reviewed-by: Richard Henderson
>> Reviewed-by
On Tue, May 13 2025, Daniel P. Berrangé wrote:
> On Tue, May 06, 2025 at 10:52:32AM +0200, Cornelia Huck wrote:
>> From: Eric Auger
>>
>> Introduce scripts that automate the generation of system register
>> definitions from a given linux source tree arch/arm64/tool
On Tue, May 13 2025, Daniel P. Berrangé wrote:
> On Wed, Apr 09, 2025 at 04:42:53PM +0200, Cornelia Huck wrote:
>> From: Eric Auger
>>
>> Also add kvm add accessors for storing host features into idregs.
>>
>> Reviewed-by: Richard Henderson
>> Revie
On Tue, May 13 2025, Eric Auger wrote:
> Hi Connie,
>
> On 4/14/25 6:38 PM, Cornelia Huck wrote:
>> Add an helper to retrieve the writable id reg bitmask. The
>> status of the query is stored in the CPU struct so that an
>> an error, if any, can be reported on vcpu rea
On Tue, May 13 2025, Eric Auger wrote:
> Hi Connie,
>
> On 4/14/25 6:38 PM, Cornelia Huck wrote:
>> From: Eric Auger
>>
>> The known ID regs are described in a new initialization function
>> dubbed initialize_cpu_sysreg_properties(). That code will be
>>
On Tue, May 13 2025, Eric Auger wrote:
> Hi Connie,
>
> On 5/6/25 10:52 AM, Cornelia Huck wrote:
>> Just some small changes:
>> - fixed up some botched conversions noted by Eric (thanks!)
>> - rebased to current master
>> - new patch with a small cleanup suggeste
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 5 +-
target/arm/cpu-features.h | 10 ++--
target/arm/cpu.c | 8 +--
target/arm/cpu.h | 3 -
target/arm
defines for all system registers.
[CH: update to handle current kernel sysregs structure, and to emit
the re-worked register structures; cpu properties will be added
later]
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
scripts/gen-cpu-sysregs
We have fd, so might as well neaten things up.
Suggested-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/kvm.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/target/arm/kvm.c b/target/arm/kvm.c
index abb63b7f617f..1ffd67a39056 100644
--- a/target/arm
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 8 ++--
target/arm/cpu-features.h | 18
target/arm/cpu.h | 6 ---
target/arm/cpu64.c| 16
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 16
target/arm/cpu.c | 15 +--
target/arm/cpu.h | 2 --
target/arm/cpu64.c
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 40 -
target/arm/cpu.c | 29
target/arm/cpu.h | 2
Generated against Linux 6.14-rc1.
Reviewed-by: Sebastian Ott
Reviewed-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-sysregs.h.inc | 43 +---
1 file changed, 30 insertions(+), 13 deletions(-)
diff --git a/target/arm/cpu-sysregs.h.inc b/target
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 74 +++
target/arm/cpu.h | 4 ---
target/arm/cpu64.c| 8 ++---
target/arm
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 2 +-
target/arm/cpu-features.h | 16
target/arm/cpu.c | 13 +
target/arm/cpu.h
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 44 +++
target/arm/cpu.c | 12 ---
target/arm/cpu.h | 2 --
target
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
hw/intc/armv7m_nvic.c | 12 ++--
target/arm/cpu-features.h | 36 +-
target/arm/cpu.c | 24 +++
target/arm/cpu.h | 7
From: Eric Auger
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 6 +++---
target/arm/cpu.h | 1 -
target/arm/cpu64.c| 7 ++-
target/arm/helper.c | 2 +-
target/arm
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-sysregs.h | 42 +++
target/arm/cpu-sysregs.h.inc | 35 ++
target/arm/cpu.h | 49
target/arm
From: Eric Auger
Also add kvm accessors for storing host features into idregs.
Reviewed-by: Richard Henderson
Reviewed-by: Sebastian Ott
Signed-off-by: Eric Auger
Signed-off-by: Cornelia Huck
---
target/arm/cpu-features.h | 57 ---
target/arm/cpu.c
be checked
for unintended changes
- most of the hard work that Eric had been doing; all new bugs in there
are my own :)
Cornelia Huck (2):
arm/cpu: switch to a generated cpu-sysregs.h.inc
arm/kvm: use fd instead of fdarray[2]
Eric Auger (12):
arm/cpu: Add sysreg definitions in cpu
On Tue, Apr 29 2025, Sebastian Ott wrote:
> On Mon, 14 Apr 2025, Cornelia Huck wrote:
>> Also add conversion between the different indices.
>>
>> Signed-off-by: Cornelia Huck
>> ---
>> target/arm/cpu.h | 18 ++
>> 1 file changed, 18 inse
On Mon, Apr 28 2025, Eric Auger wrote:
> Hi Connie,
>
> On 4/9/25 4:42 PM, Cornelia Huck wrote:
>> Just a quick respin to fix a missed conversion in hvf.c.
>>
>> Also available at
>> https://gitlab.com/cohuck/qemu/-/commits/arm-rework-idreg-storage-v5
>
> I
On Mon, Apr 28 2025, Eric Auger wrote:
> On 4/9/25 4:42 PM, Cornelia Huck wrote:
>> From: Eric Auger
>>
>> Reviewed-by: Richard Henderson
>> Reviewed-by: Sebastian Ott
>> Signed-off-by: Eric Auger
>> Signed-off-by: Cornelia Huck
>> ---
>>
On Mon, Apr 28 2025, Eric Auger wrote:
> On 4/9/25 4:42 PM, Cornelia Huck wrote:
>> From: Eric Auger
>>
>> Reviewed-by: Richard Henderson
>> Reviewed-by: Sebastian Ott
>> Signed-off-by: Eric Auger
>> Signed-off-by: Cornelia Huck
&g
On Mon, Apr 28 2025, Eric Auger wrote:
> On 4/9/25 4:42 PM, Cornelia Huck wrote:
>> From: Eric Auger
>>
>> Reviewed-by: Richard Henderson
>> Reviewed-by: Sebastian Ott
>> Signed-off-by: Eric Auger
>> Signed-off-by: Cornelia Huck
&g
1 - 100 of 2879 matches
Mail list logo