mbox series

[v3,0/6] Add some features and bugfix for kunpeng_hccs

Message ID 20240828104956.20214-1-lihuisong@huawei.com (mailing list archive)
Headers show
Series Add some features and bugfix for kunpeng_hccs | expand

Message

lihuisong (C) Aug. 28, 2024, 10:49 a.m. UTC
This series is aimed to support the low power feature and add used
HCCS types sysfs. And fix some bugfix to harden codes by the way.

---
 v3:
  - add Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>.
  - drop 'none' string print according to Jonathan's suggestion.
  - early return in hccs_wait_serdes_adapt_completed.
  - fix commit log in patch[2/6], patch[3/6] and patch[5/6]

 v2:
  - remove "this patch" words in commit log suggested by Krzyszto.
  - use for_each_set_bit to replace the cycle scanning all HCCS IP.
  - add a patch to rename the 'lane_mode' to 'max_lane_num' to make it
    easy to see.
  - add doc description into the code patch.
  - rename the name of the low power interface.
  - adjust the increasing and decreasing lane interface description.
  - do not create available_inc_dec_lane_types when no HCCS type support
    low power.
---

Huisong Li (6):
  soc: hisilicon: kunpeng_hccs: Fix a PCC typo
  soc: hisilicon: kunpeng_hccs: Return failure on having not die or port
    information
  soc: hisilicon: kunpeng_hccs: Add the check for base address and size
    of shared memory
  soc: hisilicon: kunpeng_hccs: Fix the 'lane_mode' field name in port
    info structure to 'max_lane_num'
  soc: hisilicon: kunpeng_hccs: Add used HCCS types sysfs
  soc: hisilicon: kunpeng_hccs: Support low power feature for the
    specified HCCS type

 .../sysfs-devices-platform-kunpeng_hccs       |  45 ++
 drivers/soc/hisilicon/Kconfig                 |   7 +-
 drivers/soc/hisilicon/kunpeng_hccs.c          | 514 +++++++++++++++++-
 drivers/soc/hisilicon/kunpeng_hccs.h          |  33 +-
 4 files changed, 580 insertions(+), 19 deletions(-)

Comments

Wei Xu Sept. 2, 2024, 7:51 a.m. UTC | #1
Hi Huisong,

On 2024/8/28 18:49, Huisong Li wrote:
> This series is aimed to support the low power feature and add used
> HCCS types sysfs. And fix some bugfix to harden codes by the way.
> 
> ---
>  v3:
>   - add Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>.
>   - drop 'none' string print according to Jonathan's suggestion.
>   - early return in hccs_wait_serdes_adapt_completed.
>   - fix commit log in patch[2/6], patch[3/6] and patch[5/6]
> 
>  v2:
>   - remove "this patch" words in commit log suggested by Krzyszto.
>   - use for_each_set_bit to replace the cycle scanning all HCCS IP.
>   - add a patch to rename the 'lane_mode' to 'max_lane_num' to make it
>     easy to see.
>   - add doc description into the code patch.
>   - rename the name of the low power interface.
>   - adjust the increasing and decreasing lane interface description.
>   - do not create available_inc_dec_lane_types when no HCCS type support
>     low power.
> ---
> 
> Huisong Li (6):
>   soc: hisilicon: kunpeng_hccs: Fix a PCC typo
>   soc: hisilicon: kunpeng_hccs: Return failure on having not die or port
>     information
>   soc: hisilicon: kunpeng_hccs: Add the check for base address and size
>     of shared memory
>   soc: hisilicon: kunpeng_hccs: Fix the 'lane_mode' field name in port
>     info structure to 'max_lane_num'
>   soc: hisilicon: kunpeng_hccs: Add used HCCS types sysfs
>   soc: hisilicon: kunpeng_hccs: Support low power feature for the
>     specified HCCS type
> 
>  .../sysfs-devices-platform-kunpeng_hccs       |  45 ++
>  drivers/soc/hisilicon/Kconfig                 |   7 +-
>  drivers/soc/hisilicon/kunpeng_hccs.c          | 514 +++++++++++++++++-
>  drivers/soc/hisilicon/kunpeng_hccs.h          |  33 +-
>  4 files changed, 580 insertions(+), 19 deletions(-)
> 

Thanks!
Series applied to the Hisilicon driver tree.
But it is already rc6, maybe I will send the PR in the next cycle if no conflict.

Best Regards,
Wei