diff mbox series

[v3,01/17] sizes.h: Add entries between 32G and 64T

Message ID 20230613144800.52657-2-sarah.walker@imgtec.com (mailing list archive)
State New, archived
Headers show
Series Imagination Technologies PowerVR DRM driver | expand

Commit Message

Sarah Walker June 13, 2023, 2:47 p.m. UTC
From: Matt Coster <matt.coster@imgtec.com>

Signed-off-by: Matt Coster <matt.coster@imgtec.com>
---
 include/linux/sizes.h | 9 +++++++++
 1 file changed, 9 insertions(+)

Comments

Linus Walleij June 16, 2023, 12:10 p.m. UTC | #1
On Tue, Jun 13, 2023 at 5:20 PM Sarah Walker <sarah.walker@imgtec.com> wrote:

> From: Matt Coster <matt.coster@imgtec.com>
>
> Signed-off-by: Matt Coster <matt.coster@imgtec.com>

Looks useful.
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Yours,
Linus Walleij
Frank Binns June 26, 2023, 1:25 p.m. UTC | #2
Hi Linus,

On Fri, 2023-06-16 at 14:10 +0200, Linus Walleij wrote:
> On Tue, Jun 13, 2023 at 5:20 PM Sarah Walker <sarah.walker@imgtec.com> wrote:
> 
> > From: Matt Coster <matt.coster@imgtec.com>
> > 
> > Signed-off-by: Matt Coster <matt.coster@imgtec.com>
> 
> Looks useful.
> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

Thank you for the review!

Frank

> 
> Yours,
> Linus Walleij
diff mbox series

Patch

diff --git a/include/linux/sizes.h b/include/linux/sizes.h
index 84aa448d8bb3..c3a00b967d18 100644
--- a/include/linux/sizes.h
+++ b/include/linux/sizes.h
@@ -47,8 +47,17 @@ 
 #define SZ_8G				_AC(0x200000000, ULL)
 #define SZ_16G				_AC(0x400000000, ULL)
 #define SZ_32G				_AC(0x800000000, ULL)
+#define SZ_64G				_AC(0x1000000000, ULL)
+#define SZ_128G				_AC(0x2000000000, ULL)
+#define SZ_256G				_AC(0x4000000000, ULL)
+#define SZ_512G				_AC(0x8000000000, ULL)
 
 #define SZ_1T				_AC(0x10000000000, ULL)
+#define SZ_2T				_AC(0x20000000000, ULL)
+#define SZ_4T				_AC(0x40000000000, ULL)
+#define SZ_8T				_AC(0x80000000000, ULL)
+#define SZ_16T				_AC(0x100000000000, ULL)
+#define SZ_32T				_AC(0x200000000000, ULL)
 #define SZ_64T				_AC(0x400000000000, ULL)
 
 #endif /* __LINUX_SIZES_H__ */