linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2] docs: KVM: Fix register ID of SPSR_FIQ
@ 2023-06-06 15:46 Takahiro Itazuri
  2024-08-02 13:20 ` Alexander Potapenko
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Takahiro Itazuri @ 2023-06-06 15:46 UTC (permalink / raw)
  To: Paolo Bonzini, Jonathan Corbet
  Cc: Dave Martin, Marc Zyngier, linux-doc, kvm, linux-kernel, zulinx86,
	Takahiro Itazuri

Fixes the register ID of SPSR_FIQ.

SPSR_FIQ is a 64-bit register and the 64-bit register size mask is
0x0030000000000000ULL.

Fixes: fd3bc912d3d1 ("KVM: Documentation: Document arm64 core registers in detail")
Signed-off-by: Takahiro Itazuri <itazur@amazon.com>

---
Changes from v1
- Add a description about the 64-bit register size mask in the commit
  message.
- Link: https://lore.kernel.org/all/20230410121927.26953-1-itazur@amazon.com/

---
 Documentation/virt/kvm/api.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
index a5c803f39832..65dad2581751 100644
--- a/Documentation/virt/kvm/api.rst
+++ b/Documentation/virt/kvm/api.rst
@@ -2535,7 +2535,7 @@ Specifically:
   0x6030 0000 0010 004a SPSR_ABT    64  spsr[KVM_SPSR_ABT]
   0x6030 0000 0010 004c SPSR_UND    64  spsr[KVM_SPSR_UND]
   0x6030 0000 0010 004e SPSR_IRQ    64  spsr[KVM_SPSR_IRQ]
-  0x6060 0000 0010 0050 SPSR_FIQ    64  spsr[KVM_SPSR_FIQ]
+  0x6030 0000 0010 0050 SPSR_FIQ    64  spsr[KVM_SPSR_FIQ]
   0x6040 0000 0010 0054 V0         128  fp_regs.vregs[0]    [1]_
   0x6040 0000 0010 0058 V1         128  fp_regs.vregs[1]    [1]_
   ...
-- 
2.38.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] docs: KVM: Fix register ID of SPSR_FIQ
  2023-06-06 15:46 [PATCH v2] docs: KVM: Fix register ID of SPSR_FIQ Takahiro Itazuri
@ 2024-08-02 13:20 ` Alexander Potapenko
  2024-08-04  8:17 ` Zenghui Yu
  2024-08-05 22:13 ` Oliver Upton
  2 siblings, 0 replies; 5+ messages in thread
From: Alexander Potapenko @ 2024-08-02 13:20 UTC (permalink / raw)
  To: itazur
  Cc: Dave.Martin, corbet, kvm, linux-doc, linux-kernel, marc.zyngier,
	pbonzini, zulinx86

Hi folks,

I also came across this inconsistency in the docs. What happened to the patch in question?

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] docs: KVM: Fix register ID of SPSR_FIQ
  2023-06-06 15:46 [PATCH v2] docs: KVM: Fix register ID of SPSR_FIQ Takahiro Itazuri
  2024-08-02 13:20 ` Alexander Potapenko
@ 2024-08-04  8:17 ` Zenghui Yu
  2024-08-04  9:21   ` Marc Zyngier
  2024-08-05 22:13 ` Oliver Upton
  2 siblings, 1 reply; 5+ messages in thread
From: Zenghui Yu @ 2024-08-04  8:17 UTC (permalink / raw)
  To: Takahiro Itazuri
  Cc: Paolo Bonzini, Jonathan Corbet, Dave Martin, linux-doc, kvm,
	linux-kernel, zulinx86, kvmarm, Marc Zyngier, Oliver Upton,
	James Morse, Suzuki K Poulose, glider

+Cc kvmarm people and the list ...

On 2023/6/6 23:46, Takahiro Itazuri wrote:
> Fixes the register ID of SPSR_FIQ.
> 
> SPSR_FIQ is a 64-bit register and the 64-bit register size mask is
> 0x0030000000000000ULL.
> 
> Fixes: fd3bc912d3d1 ("KVM: Documentation: Document arm64 core registers in detail")
> Signed-off-by: Takahiro Itazuri <itazur@amazon.com>

... since you're fixing the encoding of an *arm64* core register and the
mentioned commit fd3bc912d3d1 was merged via the kvmarm tree. I guess
this is the main reason why this patch has been blocked on the list for
over a year, as pointed out recently by Alexander [*].

> 
> ---
> Changes from v1
> - Add a description about the 64-bit register size mask in the commit
>   message.
> - Link: https://lore.kernel.org/all/20230410121927.26953-1-itazur@amazon.com/
> 
> ---
>  Documentation/virt/kvm/api.rst | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
> index a5c803f39832..65dad2581751 100644
> --- a/Documentation/virt/kvm/api.rst
> +++ b/Documentation/virt/kvm/api.rst
> @@ -2535,7 +2535,7 @@ Specifically:
>    0x6030 0000 0010 004a SPSR_ABT    64  spsr[KVM_SPSR_ABT]
>    0x6030 0000 0010 004c SPSR_UND    64  spsr[KVM_SPSR_UND]
>    0x6030 0000 0010 004e SPSR_IRQ    64  spsr[KVM_SPSR_IRQ]
> -  0x6060 0000 0010 0050 SPSR_FIQ    64  spsr[KVM_SPSR_FIQ]
> +  0x6030 0000 0010 0050 SPSR_FIQ    64  spsr[KVM_SPSR_FIQ]
>    0x6040 0000 0010 0054 V0         128  fp_regs.vregs[0]    [1]_
>    0x6040 0000 0010 0058 V1         128  fp_regs.vregs[1]    [1]_
>    ...

The change itself looks reasonable.

Thanks,
Zenghui

[*] https://lore.kernel.org/all/20240802132036.914457-1-glider@google.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] docs: KVM: Fix register ID of SPSR_FIQ
  2024-08-04  8:17 ` Zenghui Yu
@ 2024-08-04  9:21   ` Marc Zyngier
  0 siblings, 0 replies; 5+ messages in thread
From: Marc Zyngier @ 2024-08-04  9:21 UTC (permalink / raw)
  To: Oliver Upton, Zenghui Yu
  Cc: Takahiro Itazuri, Paolo Bonzini, Jonathan Corbet, Dave Martin,
	linux-doc, kvm, linux-kernel, zulinx86, kvmarm, James Morse,
	Suzuki K Poulose, glider

On Sun, 04 Aug 2024 09:17:47 +0100,
Zenghui Yu <zenghui.yu@linux.dev> wrote:
> 
> +Cc kvmarm people and the list ...

Thanks Zenghui.

> 
> On 2023/6/6 23:46, Takahiro Itazuri wrote:
> > Fixes the register ID of SPSR_FIQ.
> > 
> > SPSR_FIQ is a 64-bit register and the 64-bit register size mask is
> > 0x0030000000000000ULL.
> > 
> > Fixes: fd3bc912d3d1 ("KVM: Documentation: Document arm64 core registers in detail")
> > Signed-off-by: Takahiro Itazuri <itazur@amazon.com>
> 
> ... since you're fixing the encoding of an *arm64* core register and the
> mentioned commit fd3bc912d3d1 was merged via the kvmarm tree. I guess
> this is the main reason why this patch has been blocked on the list for
> over a year, as pointed out recently by Alexander [*].

That, and the fact that this is send to an email address I haven't
been reachable on for about 5 years...

> 
> > 
> > ---
> > Changes from v1
> > - Add a description about the 64-bit register size mask in the commit
> >   message.
> > - Link: https://lore.kernel.org/all/20230410121927.26953-1-itazur@amazon.com/
> > 
> > ---
> >  Documentation/virt/kvm/api.rst | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/Documentation/virt/kvm/api.rst b/Documentation/virt/kvm/api.rst
> > index a5c803f39832..65dad2581751 100644
> > --- a/Documentation/virt/kvm/api.rst
> > +++ b/Documentation/virt/kvm/api.rst
> > @@ -2535,7 +2535,7 @@ Specifically:
> >    0x6030 0000 0010 004a SPSR_ABT    64  spsr[KVM_SPSR_ABT]
> >    0x6030 0000 0010 004c SPSR_UND    64  spsr[KVM_SPSR_UND]
> >    0x6030 0000 0010 004e SPSR_IRQ    64  spsr[KVM_SPSR_IRQ]
> > -  0x6060 0000 0010 0050 SPSR_FIQ    64  spsr[KVM_SPSR_FIQ]
> > +  0x6030 0000 0010 0050 SPSR_FIQ    64  spsr[KVM_SPSR_FIQ]
> >    0x6040 0000 0010 0054 V0         128  fp_regs.vregs[0]    [1]_
> >    0x6040 0000 0010 0058 V1         128  fp_regs.vregs[1]    [1]_
> >    ...
> 
> The change itself looks reasonable.
> 
> Thanks,
> Zenghui
> 
> [*] https://lore.kernel.org/all/20240802132036.914457-1-glider@google.com

In case Oliver picks this up for 6.11:

Acked-by: Marc Zyngier <maz@kernel.org>

	M.

-- 
Without deviation from the norm, progress is not possible.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v2] docs: KVM: Fix register ID of SPSR_FIQ
  2023-06-06 15:46 [PATCH v2] docs: KVM: Fix register ID of SPSR_FIQ Takahiro Itazuri
  2024-08-02 13:20 ` Alexander Potapenko
  2024-08-04  8:17 ` Zenghui Yu
@ 2024-08-05 22:13 ` Oliver Upton
  2 siblings, 0 replies; 5+ messages in thread
From: Oliver Upton @ 2024-08-05 22:13 UTC (permalink / raw)
  To: Paolo Bonzini, Jonathan Corbet, Takahiro Itazuri
  Cc: Oliver Upton, kvm, Marc Zyngier, Dave Martin, linux-kernel,
	linux-doc, zulinx86

On Tue, 6 Jun 2023 16:46:28 +0100, Takahiro Itazuri wrote:
> Fixes the register ID of SPSR_FIQ.
> 
> SPSR_FIQ is a 64-bit register and the 64-bit register size mask is
> 0x0030000000000000ULL.
> 
> 

Applied to kvmarm/fixes, thanks!

[1/1] docs: KVM: Fix register ID of SPSR_FIQ
      https://git.kernel.org/kvmarm/kvmarm/c/7fef1eb0b013

--
Best,
Oliver

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-05 22:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-06 15:46 [PATCH v2] docs: KVM: Fix register ID of SPSR_FIQ Takahiro Itazuri
2024-08-02 13:20 ` Alexander Potapenko
2024-08-04  8:17 ` Zenghui Yu
2024-08-04  9:21   ` Marc Zyngier
2024-08-05 22:13 ` Oliver Upton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).