* [PATCH 1/1] Drivers: hv: Remove !CPU_BIG_ENDIAN qualifier for arm64
@ 2026-08-28 3:44 Michael Kelley
2026-08-28 13:31 ` Hamza Mahfooz
0 siblings, 1 reply; 4+ messages in thread
From: Michael Kelley @ 2026-08-28 3:44 UTC (permalink / raw)
To: kys, haiyangz, wei.liu, decui, longli, linux-hyperv; +Cc: linux-kernel
Support for CPU_BIG_ENDIAN configurations on arm64 was deprecated
in commit 1cf89b6bf660 ("arm64: Kconfig: Make CPU_BIG_ENDIAN depend
on BROKEN"). The support is now in the process of being completely
removed.
The Kconfig for Hyper-V guests on arm64 currently has a
!CPU_BIG_ENDIAN qualifier since Hyper-V only supports little
endian. But with Linux on arm64 restricted to little endian,
that qualifier is no longer necessary. Remove it.
Signed-off-by: Michael Kelley <mhklinux@outlook.com>
---
drivers/hv/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig
index aa11bcefddf2..db8464fcd119 100644
--- a/drivers/hv/Kconfig
+++ b/drivers/hv/Kconfig
@@ -5,7 +5,7 @@ menu "Microsoft Hyper-V guest support"
config HYPERV
bool "Microsoft Hyper-V core hypervisor support"
depends on (X86 && X86_LOCAL_APIC && HYPERVISOR_GUEST) \
- || (ARM64 && !CPU_BIG_ENDIAN)
+ || ARM64
select PARAVIRT
select X86_HV_CALLBACK_VECTOR if X86
select OF_EARLY_FLATTREE if OF
--
2.25.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH 1/1] Drivers: hv: Remove !CPU_BIG_ENDIAN qualifier for arm64
2026-08-28 3:44 [PATCH 1/1] Drivers: hv: Remove !CPU_BIG_ENDIAN qualifier for arm64 Michael Kelley
@ 2026-08-28 13:31 ` Hamza Mahfooz
2026-08-28 15:13 ` Michael Kelley
0 siblings, 1 reply; 4+ messages in thread
From: Hamza Mahfooz @ 2026-08-28 13:31 UTC (permalink / raw)
To: mhklinux
Cc: kys, haiyangz, wei.liu, decui, longli, linux-hyperv, linux-kernel
On Thu, Aug 27, 2026 at 08:44:48PM -0700, Michael Kelley wrote:
> Support for CPU_BIG_ENDIAN configurations on arm64 was deprecated
> in commit 1cf89b6bf660 ("arm64: Kconfig: Make CPU_BIG_ENDIAN depend
> on BROKEN"). The support is now in the process of being completely
> removed.
>
> The Kconfig for Hyper-V guests on arm64 currently has a
> !CPU_BIG_ENDIAN qualifier since Hyper-V only supports little
> endian. But with Linux on arm64 restricted to little endian,
> that qualifier is no longer necessary. Remove it.
>
> Signed-off-by: Michael Kelley <mhklinux@outlook.com>
> ---
> drivers/hv/Kconfig | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig
> index aa11bcefddf2..db8464fcd119 100644
> --- a/drivers/hv/Kconfig
> +++ b/drivers/hv/Kconfig
> @@ -5,7 +5,7 @@ menu "Microsoft Hyper-V guest support"
> config HYPERV
> bool "Microsoft Hyper-V core hypervisor support"
> depends on (X86 && X86_LOCAL_APIC && HYPERVISOR_GUEST) \
> - || (ARM64 && !CPU_BIG_ENDIAN)
> + || ARM64
Personally, I think we should leave it be until aarch64_be support is
completely stripped out of the kernel.
Hamza
> select PARAVIRT
> select X86_HV_CALLBACK_VECTOR if X86
> select OF_EARLY_FLATTREE if OF
> --
> 2.25.1
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH 1/1] Drivers: hv: Remove !CPU_BIG_ENDIAN qualifier for arm64
2026-08-28 13:31 ` Hamza Mahfooz
@ 2026-08-28 15:13 ` Michael Kelley
2026-09-07 17:02 ` Michael Kelley
0 siblings, 1 reply; 4+ messages in thread
From: Michael Kelley @ 2026-08-28 15:13 UTC (permalink / raw)
To: Hamza Mahfooz
Cc: kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org,
decui@microsoft.com, longli@microsoft.com,
linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org
From: Hamza Mahfooz <hamzamahfooz@linux.microsoft.com> Sent: Friday, August 28, 2026 6:32 AM
>
> On Thu, Aug 27, 2026 at 08:44:48PM -0700, Michael Kelley wrote:
> > Support for CPU_BIG_ENDIAN configurations on arm64 was deprecated
> > in commit 1cf89b6bf660 ("arm64: Kconfig: Make CPU_BIG_ENDIAN depend
> > on BROKEN"). The support is now in the process of being completely
> > removed.
> >
> > The Kconfig for Hyper-V guests on arm64 currently has a
> > !CPU_BIG_ENDIAN qualifier since Hyper-V only supports little
> > endian. But with Linux on arm64 restricted to little endian,
> > that qualifier is no longer necessary. Remove it.
> >
> > Signed-off-by: Michael Kelley <mhklinux@outlook.com>
> > ---
> > drivers/hv/Kconfig | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig
> > index aa11bcefddf2..db8464fcd119 100644
> > --- a/drivers/hv/Kconfig
> > +++ b/drivers/hv/Kconfig
> > @@ -5,7 +5,7 @@ menu "Microsoft Hyper-V guest support"
> > config HYPERV
> > bool "Microsoft Hyper-V core hypervisor support"
> > depends on (X86 && X86_LOCAL_APIC && HYPERVISOR_GUEST) \
> > - || (ARM64 && !CPU_BIG_ENDIAN)
> > + || ARM64
>
> Personally, I think we should leave it be until aarch64_be support is
> completely stripped out of the kernel.
>
The removal is in progress -- see [1]. As noted in that overview,
some kernel areas have already removed the big-endian support,
so the kernel is already irrevocably down the path. But there's
certainly no urgency to do it here as it has no operational effect.
It's just a cleanup item I noted and if the preference is to wait on
picking it up, that's fine.
Michael
[1] https://lore.kernel.org/lkml/20260811140132.22778-1-will@kernel.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [PATCH 1/1] Drivers: hv: Remove !CPU_BIG_ENDIAN qualifier for arm64
2026-08-28 15:13 ` Michael Kelley
@ 2026-09-07 17:02 ` Michael Kelley
0 siblings, 0 replies; 4+ messages in thread
From: Michael Kelley @ 2026-09-07 17:02 UTC (permalink / raw)
To: Hamza Mahfooz
Cc: kys@microsoft.com, haiyangz@microsoft.com, wei.liu@kernel.org,
decui@microsoft.com, longli@microsoft.com,
linux-hyperv@vger.kernel.org, linux-kernel@vger.kernel.org
From: Michael Kelley <mhklinux@outlook.com> Sent: Friday, August 28, 2026 8:13 AM
> From: Hamza Mahfooz <hamzamahfooz@linux.microsoft.com> Sent: Friday, August 28, 2026 6:32 AM
> >
> > On Thu, Aug 27, 2026 at 08:44:48PM -0700, Michael Kelley wrote:
> > > Support for CPU_BIG_ENDIAN configurations on arm64 was deprecated
> > > in commit 1cf89b6bf660 ("arm64: Kconfig: Make CPU_BIG_ENDIAN depend
> > > on BROKEN"). The support is now in the process of being completely
> > > removed.
> > >
> > > The Kconfig for Hyper-V guests on arm64 currently has a
> > > !CPU_BIG_ENDIAN qualifier since Hyper-V only supports little
> > > endian. But with Linux on arm64 restricted to little endian,
> > > that qualifier is no longer necessary. Remove it.
> > >
> > > Signed-off-by: Michael Kelley <mhklinux@outlook.com>
> > > ---
> > > drivers/hv/Kconfig | 2 +-
> > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > >
> > > diff --git a/drivers/hv/Kconfig b/drivers/hv/Kconfig
> > > index aa11bcefddf2..db8464fcd119 100644
> > > --- a/drivers/hv/Kconfig
> > > +++ b/drivers/hv/Kconfig
> > > @@ -5,7 +5,7 @@ menu "Microsoft Hyper-V guest support"
> > > config HYPERV
> > > bool "Microsoft Hyper-V core hypervisor support"
> > > depends on (X86 && X86_LOCAL_APIC && HYPERVISOR_GUEST) \
> > > - || (ARM64 && !CPU_BIG_ENDIAN)
> > > + || ARM64
> >
> > Personally, I think we should leave it be until aarch64_be support is
> > completely stripped out of the kernel.
> >
>
> The removal is in progress -- see [1]. As noted in that overview,
> some kernel areas have already removed the big-endian support,
> so the kernel is already irrevocably down the path. But there's
> certainly no urgency to do it here as it has no operational effect.
> It's just a cleanup item I noted and if the preference is to wait on
> picking it up, that's fine.
>
> Michael
>
> [1] https://lore.kernel.org/lkml/20260811140132.22778-1-will@kernel.org/
>
This can be dropped as a separate patch. Will Deacon is making the
change in v2 of his series to remove and cleanup arm64 big-endian
support throughout the kernel [2]. He did not have the Hyper-V
change in v1 of his series.
Michael
[2] https://lore.kernel.org/lkml/20260907163726.17104-15-will@kernel.org/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2026-09-07 17:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-28 3:44 [PATCH 1/1] Drivers: hv: Remove !CPU_BIG_ENDIAN qualifier for arm64 Michael Kelley
2026-08-28 13:31 ` Hamza Mahfooz
2026-08-28 15:13 ` Michael Kelley
2026-09-07 17:02 ` Michael Kelley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox