* [PATCH] ufs: Add HS_GEAR6 string in power_info/gear sysfs output
@ 2026-06-15 14:26 himanshubatra
2026-06-16 4:22 ` VAMSHI GAJJELA
0 siblings, 1 reply; 6+ messages in thread
From: himanshubatra @ 2026-06-15 14:26 UTC (permalink / raw)
To: Alim Akhtar, Avri Altman, Bart Van Assche
Cc: James E.J. Bottomley, Martin K. Petersen, linux-scsi,
linux-kernel, linux-serial, vamshigajjela, manugautam,
himanshubatra
In power_info/gear sysfs, currently it supports output only till gear 5.
If operating mode is gear 6, it is giving output as "UNKNOWN".
Add support for HS_GEAR6 string in sysfs output when operating mode
is gear 6.
Signed-off-by: himanshubatra <himanshubatra@google.com>
---
drivers/ufs/core/ufs-sysfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ufs/core/ufs-sysfs.c b/drivers/ufs/core/ufs-sysfs.c
index 99af3c73f1af..d1f5041fc3c8 100644
--- a/drivers/ufs/core/ufs-sysfs.c
+++ b/drivers/ufs/core/ufs-sysfs.c
@@ -54,6 +54,7 @@ static const char *ufs_hs_gear_to_string(enum ufs_hs_gear_tag gear)
case UFS_HS_G3: return "HS_GEAR3";
case UFS_HS_G4: return "HS_GEAR4";
case UFS_HS_G5: return "HS_GEAR5";
+ case UFS_HS_G6: return "HS_GEAR6";
default: return "UNKNOWN";
}
}
--
2.54.0.1189.g8c84645362-goog
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] ufs: Add HS_GEAR6 string in power_info/gear sysfs output
2026-06-15 14:26 [PATCH] ufs: Add HS_GEAR6 string in power_info/gear sysfs output himanshubatra
@ 2026-06-16 4:22 ` VAMSHI GAJJELA
2026-06-16 8:27 ` Himanshu Batra
0 siblings, 1 reply; 6+ messages in thread
From: VAMSHI GAJJELA @ 2026-06-16 4:22 UTC (permalink / raw)
To: himanshubatra
Cc: Alim Akhtar, Avri Altman, Bart Van Assche, James E.J. Bottomley,
Martin K. Petersen, linux-scsi, linux-kernel, linux-serial,
manugautam
scsi: ufs: sysfs: Add ....
On Mon, Jun 15, 2026 at 7:56 PM himanshubatra <himanshubatra@google.com> wrote:
>
> In power_info/gear sysfs, currently it supports output only till gear 5.
> If operating mode is gear 6, it is giving output as "UNKNOWN".
it outputs "UNKNOWN"
> Add support for HS_GEAR6 string in sysfs output when operating mode
> is gear 6.
>
> Signed-off-by: himanshubatra <himanshubatra@google.com>
> ---
> drivers/ufs/core/ufs-sysfs.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/ufs/core/ufs-sysfs.c b/drivers/ufs/core/ufs-sysfs.c
> index 99af3c73f1af..d1f5041fc3c8 100644
> --- a/drivers/ufs/core/ufs-sysfs.c
> +++ b/drivers/ufs/core/ufs-sysfs.c
> @@ -54,6 +54,7 @@ static const char *ufs_hs_gear_to_string(enum ufs_hs_gear_tag gear)
> case UFS_HS_G3: return "HS_GEAR3";
> case UFS_HS_G4: return "HS_GEAR4";
> case UFS_HS_G5: return "HS_GEAR5";
> + case UFS_HS_G6: return "HS_GEAR6";
> default: return "UNKNOWN";
> }
> }
> --
> 2.54.0.1189.g8c84645362-goog
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] ufs: Add HS_GEAR6 string in power_info/gear sysfs output
2026-06-16 4:22 ` VAMSHI GAJJELA
@ 2026-06-16 8:27 ` Himanshu Batra
2026-06-16 8:31 ` [PATCH v2] scsi: ufs: sysfs: " himanshubatra
0 siblings, 1 reply; 6+ messages in thread
From: Himanshu Batra @ 2026-06-16 8:27 UTC (permalink / raw)
To: VAMSHI GAJJELA
Cc: Alim Akhtar, Avri Altman, Bart Van Assche, James E.J. Bottomley,
Martin K. Petersen, linux-scsi, linux-kernel, linux-serial,
manugautam
On Tue, Jun 16, 2026 at 9:52 AM VAMSHI GAJJELA <vamshigajjela@google.com> wrote:
>
> scsi: ufs: sysfs: Add ....
>
Done in v2
> On Mon, Jun 15, 2026 at 7:56 PM himanshubatra <himanshubatra@google.com> wrote:
> >
> > In power_info/gear sysfs, currently it supports output only till gear 5.
> > If operating mode is gear 6, it is giving output as "UNKNOWN".
> it outputs "UNKNOWN"
Done in v2
> > Add support for HS_GEAR6 string in sysfs output when operating mode
> > is gear 6.
> >
> > Signed-off-by: himanshubatra <himanshubatra@google.com>
> > ---
> > drivers/ufs/core/ufs-sysfs.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/drivers/ufs/core/ufs-sysfs.c b/drivers/ufs/core/ufs-sysfs.c
> > index 99af3c73f1af..d1f5041fc3c8 100644
> > --- a/drivers/ufs/core/ufs-sysfs.c
> > +++ b/drivers/ufs/core/ufs-sysfs.c
> > @@ -54,6 +54,7 @@ static const char *ufs_hs_gear_to_string(enum ufs_hs_gear_tag gear)
> > case UFS_HS_G3: return "HS_GEAR3";
> > case UFS_HS_G4: return "HS_GEAR4";
> > case UFS_HS_G5: return "HS_GEAR5";
> > + case UFS_HS_G6: return "HS_GEAR6";
> > default: return "UNKNOWN";
> > }
> > }
> > --
> > 2.54.0.1189.g8c84645362-goog
> >
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v2] scsi: ufs: sysfs: Add HS_GEAR6 string in power_info/gear sysfs output
2026-06-16 8:27 ` Himanshu Batra
@ 2026-06-16 8:31 ` himanshubatra
2026-06-16 9:44 ` Greg KH
0 siblings, 1 reply; 6+ messages in thread
From: himanshubatra @ 2026-06-16 8:31 UTC (permalink / raw)
To: Alim Akhtar, Avri Altman, Bart Van Assche
Cc: James E.J. Bottomley, Martin K. Petersen, linux-scsi,
linux-kernel, linux-serial, vamshigajjela, manugautam,
himanshubatra
In power_info/gear sysfs, currently it supports output only till gear 5.
If operating mode is gear 6, it outputs "UNKNOWN".
Add support for HS_GEAR6 string in sysfs output when operating mode
is gear 6.
Signed-off-by: himanshubatra <himanshubatra@google.com>
---
Changes in v2:
- A slightly better comment.
drivers/ufs/core/ufs-sysfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ufs/core/ufs-sysfs.c b/drivers/ufs/core/ufs-sysfs.c
index 99af3c73f1af..d1f5041fc3c8 100644
--- a/drivers/ufs/core/ufs-sysfs.c
+++ b/drivers/ufs/core/ufs-sysfs.c
@@ -54,6 +54,7 @@ static const char *ufs_hs_gear_to_string(enum ufs_hs_gear_tag gear)
case UFS_HS_G3: return "HS_GEAR3";
case UFS_HS_G4: return "HS_GEAR4";
case UFS_HS_G5: return "HS_GEAR5";
+ case UFS_HS_G6: return "HS_GEAR6";
default: return "UNKNOWN";
}
}
--
2.54.0.1189.g8c84645362-goog
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH v2] scsi: ufs: sysfs: Add HS_GEAR6 string in power_info/gear sysfs output
2026-06-16 8:31 ` [PATCH v2] scsi: ufs: sysfs: " himanshubatra
@ 2026-06-16 9:44 ` Greg KH
2026-06-16 10:01 ` [PATCH v3] " Himanshu Batra
0 siblings, 1 reply; 6+ messages in thread
From: Greg KH @ 2026-06-16 9:44 UTC (permalink / raw)
To: himanshubatra
Cc: Alim Akhtar, Avri Altman, Bart Van Assche, James E.J. Bottomley,
Martin K. Petersen, linux-scsi, linux-kernel, linux-serial,
vamshigajjela, manugautam
On Tue, Jun 16, 2026 at 02:01:24PM +0530, himanshubatra wrote:
> In power_info/gear sysfs, currently it supports output only till gear 5.
> If operating mode is gear 6, it outputs "UNKNOWN".
> Add support for HS_GEAR6 string in sysfs output when operating mode
> is gear 6.
>
> Signed-off-by: himanshubatra <himanshubatra@google.com>
> ---
>
> Changes in v2:
> - A slightly better comment.
>
> drivers/ufs/core/ufs-sysfs.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/ufs/core/ufs-sysfs.c b/drivers/ufs/core/ufs-sysfs.c
> index 99af3c73f1af..d1f5041fc3c8 100644
> --- a/drivers/ufs/core/ufs-sysfs.c
> +++ b/drivers/ufs/core/ufs-sysfs.c
> @@ -54,6 +54,7 @@ static const char *ufs_hs_gear_to_string(enum ufs_hs_gear_tag gear)
> case UFS_HS_G3: return "HS_GEAR3";
> case UFS_HS_G4: return "HS_GEAR4";
> case UFS_HS_G5: return "HS_GEAR5";
> + case UFS_HS_G6: return "HS_GEAR6";
> default: return "UNKNOWN";
> }
> }
> --
> 2.54.0.1189.g8c84645362-goog
>
>
Hi,
This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him
a patch that has triggered this response. He used to manually respond
to these common problems, but in order to save his sanity (he kept
writing the same thing over and over, yet to different people), I was
created. Hopefully you will not take offence and will fix the problem
in your patch and resubmit it so that it can be accepted into the Linux
kernel tree.
You are receiving this message because of the following common error(s)
as indicated below:
- It looks like you did not use your "real" name for the patch on either
the Signed-off-by: line, or the From: line (both of which have to
match). Please read the kernel file,
Documentation/process/submitting-patches.rst for how to do this
correctly.
If you wish to discuss this problem further, or you have questions about
how to resolve this issue, please feel free to respond to this email and
Greg will reply once he has dug out from the pending patches received
from other developers.
thanks,
greg k-h's patch email bot
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v3] scsi: ufs: sysfs: Add HS_GEAR6 string in power_info/gear sysfs output
2026-06-16 9:44 ` Greg KH
@ 2026-06-16 10:01 ` Himanshu Batra
0 siblings, 0 replies; 6+ messages in thread
From: Himanshu Batra @ 2026-06-16 10:01 UTC (permalink / raw)
To: Alim Akhtar, Avri Altman, Bart Van Assche
Cc: James E.J. Bottomley, Martin K. Petersen, linux-scsi,
linux-kernel, linux-serial, vamshigajjela, manugautam,
Himanshu Batra
In power_info/gear sysfs, currently it supports output only till gear 5.
If operating mode is gear 6, it outputs "UNKNOWN".
Add support for HS_GEAR6 string in sysfs output when operating mode
is gear 6.
Signed-off-by: Himanshu Batra <himanshubatra@google.com>
---
Changes in v3:
- Fixed the identity alignment issue: updated both the 'From:' line
and 'Signed-off-by:' tag to use my full real name ("Himanshu Batra")
Changes in v2:
- A slightly better comment.
drivers/ufs/core/ufs-sysfs.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ufs/core/ufs-sysfs.c b/drivers/ufs/core/ufs-sysfs.c
index 99af3c73f1af..d1f5041fc3c8 100644
--- a/drivers/ufs/core/ufs-sysfs.c
+++ b/drivers/ufs/core/ufs-sysfs.c
@@ -54,6 +54,7 @@ static const char *ufs_hs_gear_to_string(enum ufs_hs_gear_tag gear)
case UFS_HS_G3: return "HS_GEAR3";
case UFS_HS_G4: return "HS_GEAR4";
case UFS_HS_G5: return "HS_GEAR5";
+ case UFS_HS_G6: return "HS_GEAR6";
default: return "UNKNOWN";
}
}
--
2.54.0.1189.g8c84645362-goog
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2026-06-16 10:01 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-15 14:26 [PATCH] ufs: Add HS_GEAR6 string in power_info/gear sysfs output himanshubatra
2026-06-16 4:22 ` VAMSHI GAJJELA
2026-06-16 8:27 ` Himanshu Batra
2026-06-16 8:31 ` [PATCH v2] scsi: ufs: sysfs: " himanshubatra
2026-06-16 9:44 ` Greg KH
2026-06-16 10:01 ` [PATCH v3] " Himanshu Batra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox