mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mmc: host: sdhci-msm: Fix the wrapped key handling
@ 2026-04-03 10:59 Neeraj Soni
  2026-04-03 12:09 ` Kuldeep Singh
  2026-04-03 20:00 ` Dmitry Baryshkov
  0 siblings, 2 replies; 6+ messages in thread
From: Neeraj Soni @ 2026-04-03 10:59 UTC (permalink / raw)
  To: adrian.hunter, ebiggers, abel.vesa, ulf.hansson
  Cc: linux-mmc, linux-arm-msm, linux-kernel, 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.

Signed-off-by: Neeraj Soni <neeraj.soni@oss.qualcomm.com>

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

diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
index da356627d9de..df0a038269d4 100644
--- a/drivers/mmc/host/sdhci-msm.c
+++ b/drivers/mmc/host/sdhci-msm.c
@@ -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 */
-- 
2.34.1


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

* Re: [PATCH] mmc: host: sdhci-msm: Fix the wrapped key handling
  2026-04-03 10:59 [PATCH] mmc: host: sdhci-msm: Fix the wrapped key handling Neeraj Soni
@ 2026-04-03 12:09 ` Kuldeep Singh
  2026-04-03 20:00 ` Dmitry Baryshkov
  1 sibling, 0 replies; 6+ messages in thread
From: Kuldeep Singh @ 2026-04-03 12:09 UTC (permalink / raw)
  To: Neeraj Soni, adrian.hunter, ebiggers, abel.vesa, ulf.hansson
  Cc: linux-mmc, linux-arm-msm, linux-kernel

On 4/3/2026 4:29 PM, Neeraj Soni wrote:
> 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.

-- 
Regards
Kuldeep


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

* Re: [PATCH] mmc: host: sdhci-msm: Fix the wrapped key handling
  2026-04-03 10:59 [PATCH] mmc: host: sdhci-msm: Fix the wrapped key handling Neeraj Soni
  2026-04-03 12:09 ` Kuldeep Singh
@ 2026-04-03 20:00 ` Dmitry Baryshkov
  2026-04-06  7:29   ` Neeraj Soni
  1 sibling, 1 reply; 6+ messages in thread
From: Dmitry Baryshkov @ 2026-04-03 20:00 UTC (permalink / raw)
  To: Neeraj Soni
  Cc: adrian.hunter, ebiggers, abel.vesa, ulf.hansson, linux-mmc,
	linux-arm-msm, linux-kernel

On Fri, Apr 03, 2026 at 04:29:49PM +0530, Neeraj Soni wrote:
> 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.

> 
> Signed-off-by: Neeraj Soni <neeraj.soni@oss.qualcomm.com>
> 
> ---
> 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(-)
> 
> diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
> index da356627d9de..df0a038269d4 100644
> --- a/drivers/mmc/host/sdhci-msm.c
> +++ b/drivers/mmc/host/sdhci-msm.c
> @@ -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 */
> -- 
> 2.34.1
> 

-- 
With best wishes
Dmitry

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

* Re: [PATCH] mmc: host: sdhci-msm: Fix the wrapped key handling
  2026-04-03 20:00 ` Dmitry Baryshkov
@ 2026-04-06  7:29   ` Neeraj Soni
  2026-04-06 13:47     ` Ulf Hansson
  0 siblings, 1 reply; 6+ messages in thread
From: Neeraj Soni @ 2026-04-06  7:29 UTC (permalink / raw)
  To: Dmitry Baryshkov
  Cc: adrian.hunter, ebiggers, abel.vesa, ulf.hansson, linux-mmc,
	linux-arm-msm, linux-kernel



On 4/4/2026 1:30 AM, Dmitry Baryshkov wrote:
> On Fri, Apr 03, 2026 at 04:29:49PM +0530, Neeraj Soni wrote:
>> 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.

> 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

>>
>> Signed-off-by: Neeraj Soni <neeraj.soni@oss.qualcomm.com>
>>
>> ---
>> 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(-)
>>
>> diff --git a/drivers/mmc/host/sdhci-msm.c b/drivers/mmc/host/sdhci-msm.c
>> index da356627d9de..df0a038269d4 100644
>> --- a/drivers/mmc/host/sdhci-msm.c
>> +++ b/drivers/mmc/host/sdhci-msm.c
>> @@ -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 */
>> -- 
>> 2.34.1
>>
> 
Regards,
Neeraj

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

* Re: [PATCH] mmc: host: sdhci-msm: Fix the wrapped key handling
  2026-04-06  7:29   ` Neeraj Soni
@ 2026-04-06 13:47     ` Ulf Hansson
  2026-04-08  4:24       ` Neeraj Soni
  0 siblings, 1 reply; 6+ messages in thread
From: Ulf Hansson @ 2026-04-06 13:47 UTC (permalink / raw)
  To: Neeraj Soni
  Cc: Dmitry Baryshkov, adrian.hunter, ebiggers, abel.vesa, linux-mmc,
	linux-arm-msm, linux-kernel

On Mon, 6 Apr 2026 at 09:29, Neeraj Soni <neeraj.soni@oss.qualcomm.com> wrote:
>
>
>
> On 4/4/2026 1:30 AM, Dmitry Baryshkov wrote:
> > On Fri, Apr 03, 2026 at 04:29:49PM +0530, Neeraj Soni wrote:
> >> 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.
>
> > 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

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

* Re: [PATCH] mmc: host: sdhci-msm: Fix the wrapped key handling
  2026-04-06 13:47     ` Ulf Hansson
@ 2026-04-08  4:24       ` Neeraj Soni
  0 siblings, 0 replies; 6+ messages in thread
From: Neeraj Soni @ 2026-04-08  4:24 UTC (permalink / raw)
  To: Ulf Hansson
  Cc: Dmitry Baryshkov, adrian.hunter, ebiggers, abel.vesa, linux-mmc,
	linux-arm-msm, linux-kernel



On 4/6/2026 7:17 PM, Ulf Hansson wrote:
> On Mon, 6 Apr 2026 at 09:29, Neeraj Soni <neeraj.soni@oss.qualcomm.com> wrote:
>>
>>
>>
>> On 4/4/2026 1:30 AM, Dmitry Baryshkov wrote:
>>> On Fri, Apr 03, 2026 at 04:29:49PM +0530, Neeraj Soni wrote:
>>>> 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.
>>
>>> 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")
> 
Ack. I will post v2 with "Fixes:" updated.

> [...]
> 
> Kind regards
> Uffe
> 
Regards
Neeraj

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

end of thread, other threads:[~2026-04-08  4:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-04-03 10:59 [PATCH] mmc: host: sdhci-msm: Fix the wrapped key handling Neeraj Soni
2026-04-03 12:09 ` Kuldeep Singh
2026-04-03 20:00 ` Dmitry Baryshkov
2026-04-06  7:29   ` Neeraj Soni
2026-04-06 13:47     ` Ulf Hansson
2026-04-08  4:24       ` Neeraj Soni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®