[PATCH v3 0/2] Add more 64-bit utilities

Joe Komlodi posted 2 patches 2 years, 9 months ago
Test checkpatch failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1626805903-162860-1-git-send-email-joe.komlodi@xilinx.com
Maintainers: Alistair Francis <alistair@alistair23.me>
hw/core/register.c          | 12 ++++++++++++
include/hw/register.h       |  8 ++++++++
include/hw/registerfields.h | 10 +++++++++-
3 files changed, 29 insertions(+), 1 deletion(-)
[PATCH v3 0/2] Add more 64-bit utilities
Posted by Joe Komlodi 2 years, 9 months ago
Changelog:
v2 -> v3
 - 1/2: register block init should also be uint64_t
v1 -> v2
 - 2/2: Use uint64_t for 64-bit value

Hi all,

This adds more utilities for 64-bit registers.
As part of it, it also fixes FIELD_DP64 to work with bit fields wider than
32-bits.

Thanks!
Joe

Joe Komlodi (2):
  hw/core/register: Add more 64-bit utilities
  hw/registerfields: Use 64-bit bitfield for FIELD_DP64

 hw/core/register.c          | 12 ++++++++++++
 include/hw/register.h       |  8 ++++++++
 include/hw/registerfields.h | 10 +++++++++-
 3 files changed, 29 insertions(+), 1 deletion(-)

-- 
2.7.4


Re: [PATCH v3 0/2] Add more 64-bit utilities
Posted by Alistair Francis 2 years, 9 months ago
On Wed, Jul 21, 2021 at 4:31 AM Joe Komlodi <joe.komlodi@xilinx.com> wrote:
>
> Changelog:
> v2 -> v3
>  - 1/2: register block init should also be uint64_t
> v1 -> v2
>  - 2/2: Use uint64_t for 64-bit value
>
> Hi all,
>
> This adds more utilities for 64-bit registers.
> As part of it, it also fixes FIELD_DP64 to work with bit fields wider than
> 32-bits.
>
> Thanks!
> Joe
>
> Joe Komlodi (2):
>   hw/core/register: Add more 64-bit utilities
>   hw/registerfields: Use 64-bit bitfield for FIELD_DP64

Thanks!

Applied to riscv-to-apply.next

Alistair

>
>  hw/core/register.c          | 12 ++++++++++++
>  include/hw/register.h       |  8 ++++++++
>  include/hw/registerfields.h | 10 +++++++++-
>  3 files changed, 29 insertions(+), 1 deletion(-)
>
> --
> 2.7.4
>