linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] hugetlbfs: s390 is always 64bit
@ 2021-09-08 15:45 David Hildenbrand
  2021-09-08 15:59 ` David Hildenbrand
  2021-09-08 16:54 ` Heiko Carstens
  0 siblings, 2 replies; 3+ messages in thread
From: David Hildenbrand @ 2021-09-08 15:45 UTC (permalink / raw)
  To: linux-kernel
  Cc: David Hildenbrand, Heiko Carstens, Vasily Gorbik,
	Christian Borntraeger, Alexander Viro, Gerald Schaefer,
	Andrew Morton, Mike Kravetz, linux-s390, linux-mm, linux-fsdevel

No need to check for 64BIT. While at it, let's just select
ARCH_SUPPORTS_HUGETLBFS from arch/s390x/Kconfig.

Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: linux-s390@vger.kernel.org
Cc: linux-mm@vger.kernel.org
Cc: linux-fsdevel@vger.kernel.org
Signed-off-by: David Hildenbrand <david@redhat.com>
---
 arch/s390/Kconfig | 1 +
 fs/Kconfig        | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/s390/Kconfig b/arch/s390/Kconfig
index a0e2130f0100..0113e8f703e5 100644
--- a/arch/s390/Kconfig
+++ b/arch/s390/Kconfig
@@ -110,6 +110,7 @@ config S390
 	select ARCH_STACKWALK
 	select ARCH_SUPPORTS_ATOMIC_RMW
 	select ARCH_SUPPORTS_DEBUG_PAGEALLOC
+	select ARCH_SUPPORTS_HUGETLBFS
 	select ARCH_SUPPORTS_NUMA_BALANCING
 	select ARCH_USE_BUILTIN_BSWAP
 	select ARCH_USE_CMPXCHG_LOCKREF
diff --git a/fs/Kconfig b/fs/Kconfig
index a7749c126b8e..44f5dba9f704 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -228,8 +228,7 @@ config ARCH_SUPPORTS_HUGETLBFS
 
 config HUGETLBFS
 	bool "HugeTLB file system support"
-	depends on X86 || IA64 || SPARC64 || (S390 && 64BIT) || \
-		   ARCH_SUPPORTS_HUGETLBFS || BROKEN
+	depends on X86 || IA64 || SPARC64 || ARCH_SUPPORTS_HUGETLBFS || BROKEN
 	help
 	  hugetlbfs is a filesystem backing for HugeTLB pages, based on
 	  ramfs. For architectures that support it, say Y here and read

base-commit: 7d2a07b769330c34b4deabeed939325c77a7ec2f
-- 
2.31.1


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

* Re: [PATCH v1] hugetlbfs: s390 is always 64bit
  2021-09-08 15:45 [PATCH v1] hugetlbfs: s390 is always 64bit David Hildenbrand
@ 2021-09-08 15:59 ` David Hildenbrand
  2021-09-08 16:54 ` Heiko Carstens
  1 sibling, 0 replies; 3+ messages in thread
From: David Hildenbrand @ 2021-09-08 15:59 UTC (permalink / raw)
  To: linux-kernel
  Cc: Heiko Carstens, Vasily Gorbik, Christian Borntraeger,
	Alexander Viro, Gerald Schaefer, Andrew Morton, Mike Kravetz,
	linux-s390, linux-fsdevel, linux-mm

On 08.09.21 17:45, David Hildenbrand wrote:
> No need to check for 64BIT. While at it, let's just select
> ARCH_SUPPORTS_HUGETLBFS from arch/s390x/Kconfig.
> 
> Cc: Heiko Carstens <hca@linux.ibm.com>
> Cc: Vasily Gorbik <gor@linux.ibm.com>
> Cc: Christian Borntraeger <borntraeger@de.ibm.com>
> Cc: Alexander Viro <viro@zeniv.linux.org.uk>
> Cc: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Mike Kravetz <mike.kravetz@oracle.com>
> Cc: linux-s390@vger.kernel.org
> Cc: linux-mm@vger.kernel.org

^ wishful thinking, lol

Cc: linux-mm@kvack.org


-- 
Thanks,

David / dhildenb


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

* Re: [PATCH v1] hugetlbfs: s390 is always 64bit
  2021-09-08 15:45 [PATCH v1] hugetlbfs: s390 is always 64bit David Hildenbrand
  2021-09-08 15:59 ` David Hildenbrand
@ 2021-09-08 16:54 ` Heiko Carstens
  1 sibling, 0 replies; 3+ messages in thread
From: Heiko Carstens @ 2021-09-08 16:54 UTC (permalink / raw)
  To: David Hildenbrand
  Cc: linux-kernel, Vasily Gorbik, Christian Borntraeger,
	Alexander Viro, Gerald Schaefer, Andrew Morton, Mike Kravetz,
	linux-s390, linux-mm, linux-fsdevel

On Wed, Sep 08, 2021 at 05:45:06PM +0200, David Hildenbrand wrote:
> No need to check for 64BIT. While at it, let's just select
> ARCH_SUPPORTS_HUGETLBFS from arch/s390x/Kconfig.
                                    ^^^^^
s390 :)

> Signed-off-by: David Hildenbrand <david@redhat.com>
> ---
>  arch/s390/Kconfig | 1 +
>  fs/Kconfig        | 3 +--
>  2 files changed, 2 insertions(+), 2 deletions(-)

I'll apply this to the s390 tree. Thanks David!

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

end of thread, other threads:[~2021-09-08 16:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-08 15:45 [PATCH v1] hugetlbfs: s390 is always 64bit David Hildenbrand
2021-09-08 15:59 ` David Hildenbrand
2021-09-08 16:54 ` Heiko Carstens

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).