mmc: host: sdhci-msm: Fix the wrapped key handling
Subsystems (3)
PATCH 1/1 mmc: host: sdhci-msm: Fix the wrapped key handling
This change was originally intended to land with the patch series:
"mmc: host: sdhci-msm: Add support for wrapped keys". The fix was present till v4 but was accidentally dropped in v5 while rebasing.
---
The patch serirs "mmc: host: sdhci-msm: Add support for wrapped keys"
was originally discussed here: https://lore.kernel.org/all/CAPDyKFqRG1_1aYavfrA0Ss85B0kcTnjVBeqLgq8PUJUcSx5LUg@mail.gmail.com/
--- drivers/mmc/host/sdhci-msm.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/mmc/host/sdhci-msm.c +0 -5
@@ -1926,11 +1926,6 @@ static int sdhci_msm_ice_init(struct sdhci_msm_host *msm_host,if (IS_ERR_OR_NULL (ice))return PTR_ERR_OR_ZERO (ice); -if (qcom_ice_get_supported_key_type (ice) !=BLK_CRYPTO_KEY_TYPE_RAW ) { -dev_warn (dev,"Wrapped keys not supported. Disabling inline encryption support.\n" ); -return 0 ; - } - msm_host->ice = ice;/* Initialize the blk_crypto_profile */
Signature · 1 line
2.34.1
Quoted 4 lines · Neeraj Soni
This change was originally intended to land with the patch series:
"mmc: host: sdhci-msm: Add support for wrapped keys". The fix was present till v4 but was accidentally dropped in v5 while rebasing.
Seems you need Fixes: tag to address the fix on the merged change.
Signature · 2 lines
Regards Kuldeep
Quoted 3 lines · Neeraj Soni
This change was originally intended to land with the patch series:
"mmc: host: sdhci-msm: Add support for wrapped keys". The fix was present till v4 but was accidentally dropped in v5 while rebasing.
Don't describe what is being changed or what was intended. Please describe, why you are performing the change. I.e. what is broken.
Also, likely you missed the Fixes tag.
Quoted 29 lines
Signed-off-by Neeraj Soni <[email protected]>---
The patch serirs "mmc: host: sdhci-msm: Add support for wrapped keys"
was originally discussed here: https://lore.kernel.org/all/CAPDyKFqRG1_1aYavfrA0Ss85B0kcTnjVBeqLgq8PUJUcSx5LUg@mail.gmail.com/--- drivers/mmc/host/sdhci-msm.c | 5 ----- 1 file changed, 5 deletions(-)drivers/mmc/host/sdhci-msm.c +0
-5@@ -1926,11 +1926,6 @@ static int sdhci_msm_ice_init(struct sdhci_msm_host *msm_host,if (IS_ERR_OR_NULL (ice))return PTR_ERR_OR_ZERO (ice); -if (qcom_ice_get_supported_key_type (ice) !=BLK_CRYPTO_KEY_TYPE_RAW ) { -dev_warn (dev,"Wrapped keys not supported. Disabling inline encryption support.\n" ); -return 0 ; - } - msm_host->ice = ice;/* Initialize the blk_crypto_profile */ Signature · 1 line
2.34.1
Signature · 2 lines
With best wishes Dmitry
Quoted 8 lines · Dmitry Baryshkov
Quoted 3 lines · Neeraj Soni
This change was originally intended to land with the patch series:
"mmc: host: sdhci-msm: Add support for wrapped keys". The fix was present till v4 but was accidentally dropped in v5 while rebasing.Don't describe what is being changed or what was intended. Please describe, why you are performing the change. I.e. what is broken.
Ack.
Quoted 2 lines
Also, likely you missed the Fixes tag.
The SHA-1 ID for "mmc: host: sdhci-msm: Add support for wrapped keys" is not yet available in tree so i did not add the "Fixes:" tag:
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-changes
Quoted 25 lines
Quoted 25 lines
Signed-off-by Neeraj Soni <[email protected]>---
The patch serirs "mmc: host: sdhci-msm: Add support for wrapped keys"
was originally discussed here: https://lore.kernel.org/all/CAPDyKFqRG1_1aYavfrA0Ss85B0kcTnjVBeqLgq8PUJUcSx5LUg@mail.gmail.com/--- drivers/mmc/host/sdhci-msm.c | 5 ----- 1 file changed, 5 deletions(-)drivers/mmc/host/sdhci-msm.c +0
-5@@ -1926,11 +1926,6 @@ static int sdhci_msm_ice_init(struct sdhci_msm_host *msm_host,if (IS_ERR_OR_NULL (ice))return PTR_ERR_OR_ZERO (ice); -if (qcom_ice_get_supported_key_type (ice) !=BLK_CRYPTO_KEY_TYPE_RAW ) { -dev_warn (dev,"Wrapped keys not supported. Disabling inline encryption support.\n" ); -return 0 ; - } - msm_host->ice = ice;
Quoted 5 lines
Quoted 4 lines
drivers/mmc/host/sdhci-msm.c +0
-0/* Initialize the blk_crypto_profile */ Signature · 1 line
2.34.1
Regards,
Neeraj
Quoted 12 lines · Neeraj Soni
Quoted 8 lines · Dmitry Baryshkov
Quoted 3 lines · Neeraj Soni
This change was originally intended to land with the patch series:
"mmc: host: sdhci-msm: Add support for wrapped keys". The fix was present till v4 but was accidentally dropped in v5 while rebasing.Don't describe what is being changed or what was intended. Please describe, why you are performing the change. I.e. what is broken.
Quoted 7 lines
Ack.
Quoted 2 lines
Also, likely you missed the Fixes tag.
The SHA-1 ID for "mmc: host: sdhci-msm: Add support for wrapped keys" is not yet available in tree so i did not add the "Fixes:" tag:
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-changes
The commit should be available on the next branch in my mmc tree git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git next
commit fd78e2b582a0 ("mmc: sdhci-msm: Add support for wrapped keys")
[...]
Kind regards
Uffe
Quoted 17 lines · Ulf Hansson
Quoted 16 lines · Neeraj Soni
Quoted 8 lines · Dmitry Baryshkov
Quoted 3 lines · Neeraj Soni
This change was originally intended to land with the patch series:
"mmc: host: sdhci-msm: Add support for wrapped keys". The fix was present till v4 but was accidentally dropped in v5 while rebasing.Don't describe what is being changed or what was intended. Please describe, why you are performing the change. I.e. what is broken.
Ack.
Quoted 2 lines
Also, likely you missed the Fixes tag.
Quoted 9 lines
Quoted 3 lines
The SHA-1 ID for "mmc: host: sdhci-msm: Add support for wrapped keys" is not yet available in tree so i did not add the "Fixes:" tag:
https://www.kernel.org/doc/html/latest/process/submitting-patches.html#describe-changesThe commit should be available on the next branch in my mmc tree git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc.git next
commit
fd78e2b582a0("mmc: sdhci-msm: Add support for wrapped keys")
Ack. I will post v2 with "Fixes:" updated.
Quoted 5 lines
[...]
Kind regards
Uffe
Regards
Neeraj