From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C5D3014BFB0 for ; Fri, 4 Oct 2024 09:52:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.168.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728035560; cv=none; b=X5xxn0oaopc8ipeiUYIY4CWQX/Gxj8rENFqNhBeUs6xInKleuPEUN2YwnbPV0YxMKpJMjuec5FZsqL4LGvIUYtymlhMWCcDh6EVITU0PUqCL0HdeSLcH3H0HzyOT5x2Q+H+NPcRHql2/+HGRzGrGXLgUzkkd+Wo4QcDJmuasX4o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728035560; c=relaxed/simple; bh=H909r7EBxLaodYwgEv2a99zZiE139lBLdtGTsN3xwh4=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=ef9dcRuEI1RJwMMdM7A3gPHj0089ICA4kWGSvwgUCLKdiPf7SRm4Y/CuBe5Rcw8gY9t7jLsSwBCV7uicSF2UdKq0N8jlx7ySUiOjtI0KiFQ6JRrust8r91A73yOgeyYmqqs/s2sS+QDVEsN+S0DMOuwNwi4ePNe7T8gvn6Z30oY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com; spf=fail smtp.mailfrom=oss.qualcomm.com; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b=F53f5GsZ; arc=none smtp.client-ip=205.220.168.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=oss.qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=qualcomm.com header.i=@qualcomm.com header.b="F53f5GsZ" Received: from pps.filterd (m0279863.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 493HxPWb022353 for ; Fri, 4 Oct 2024 09:52:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qualcomm.com; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to; s=qcppdkim1; bh= qoyqY+ou/5x6xtj7TFGxDBBjsMoXv2qfS+nE6ns1F4Y=; b=F53f5GsZJMRSr8oK M5VY22c5vbaFpEqEr4xhL4w2+SvByUgxRU5xoCXUZjaytk2y4Zltznyb09sWFrdi N0CoVXndWOHuumqdQW+gbdNjFILogfg3FtUF5ibza4bcVwQIvH8Xd3KoN1ToBoR7 FEY+e8RvjnMMaolOGErhuFbNXb2Pg7PRZzcBZ00e4acAcLEmKhcVEHnx4yMgDly0 aVNf28KJT3N+AtdVMLf9/uQBCbnzfZVEhTrnbWSZlw4PzUPAti/4myQJq9jUg0Jy fDSgPKSd5keoiA6Aq6J2R0lDhpnPVstUwv7FTBkwqCQW+/MKhz6g+M2QAeU0xmyb TtNk4A== Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 42205d9pqe-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT) for ; Fri, 04 Oct 2024 09:52:37 +0000 (GMT) Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-42cbf0bc766so2869555e9.2 for ; Fri, 04 Oct 2024 02:52:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728035555; x=1728640355; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qoyqY+ou/5x6xtj7TFGxDBBjsMoXv2qfS+nE6ns1F4Y=; b=nQbE+jM+ZS/36bvuRzld0mTwwX642eGri8LeYZPDGS/iPNfQoQOu9p0nuFDlMTN0+f /4gYTGpCh3NtluLW/c/WdifKn85Vlec1Memp3KAUmXp0wjvkRMufqdIOauV1Ou5gwr7H RyghSgZQ3efn4Yg+EBYxekmoqb/9eC2gQqqZ8wjyvs3iuCMXqOu4bL2fghqXQpVZjpXn Xb9VFCI3otxPPGiwQXB/8PfD01bjIDtGVFNjvx2GhV2OjBG6fGKjEAAlv3GCWHa2xk3C tDyXQfdgdblLOZYaOn1OzN+oVtYcepOanoSWohgM0HPpjZFLCRcICBGcqoBPy7arMqtS DTKg== X-Forwarded-Encrypted: i=1; AJvYcCWBblDGvDFh2u143pbpDpVKxyl3zocU2obLVZqSBlMQiAW3MM+WXkMw1oVvyFJ/iWJb/uLN2dNygg41kIs=@vger.kernel.org X-Gm-Message-State: AOJu0YzSofRZm3fj7iJHYCycg60gPUVgz/3JkEmz+xsC97ll5cEutfaR r6SzZJCdPFNBVkBymkulNFv1eDj/e1mrrHDTBssducdHVJiuoEHzYySi0I8v2/6TMLFNVVqc045 tsDo1+7bf2dkxT5HYwh5f+CmX15VIo8i+LdIOMI7PwoRvHkBuqXmBrK5/nOA6DiI= X-Received: by 2002:a5d:5848:0:b0:37c:fa12:8cf5 with SMTP id ffacd0b85a97d-37d0e50b420mr757501f8f.0.1728035555658; Fri, 04 Oct 2024 02:52:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHGVpkedxRIRARtG1vsRB0nGp8t4h6rguYRWAbij3uXXq9ZtVjE/NRidrif5fAPl/UfC4sVCQ== X-Received: by 2002:a5d:5848:0:b0:37c:fa12:8cf5 with SMTP id ffacd0b85a97d-37d0e50b420mr757485f8f.0.1728035555283; Fri, 04 Oct 2024 02:52:35 -0700 (PDT) Received: from [192.168.212.120] (078088045245.garwolin.vectranet.pl. [78.88.45.245]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c8ca4f66aasm1665164a12.84.2024.10.04.02.52.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 04 Oct 2024 02:52:35 -0700 (PDT) Message-ID: Date: Fri, 4 Oct 2024 11:52:33 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v7 2/2] arm64: dts: qcom: sm8550: extend the register range for UFS ICE To: Bartosz Golaszewski , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski , Gaurav Kashyap References: <20241001-wrapped-keys-dts-v7-0-a668519b7ffe@linaro.org> <20241001-wrapped-keys-dts-v7-2-a668519b7ffe@linaro.org> Content-Language: en-US From: Konrad Dybcio In-Reply-To: <20241001-wrapped-keys-dts-v7-2-a668519b7ffe@linaro.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Proofpoint-GUID: yYoxDRK9t73ahQwrCqnCXHGQa8RZ0Wuu X-Proofpoint-ORIG-GUID: yYoxDRK9t73ahQwrCqnCXHGQa8RZ0Wuu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.680,FMLib:17.12.60.29 definitions=2024-09-06_09,2024-09-06_01,2024-09-02_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 spamscore=0 phishscore=0 priorityscore=1501 malwarescore=0 impostorscore=0 bulkscore=0 suspectscore=0 mlxlogscore=746 lowpriorityscore=0 adultscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2409260000 definitions=main-2410040071 On 1.10.2024 10:35 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > The Inline Crypto Engine (ICE) for UFS/EMMC supports the Hardware Key > Manager (HWKM) to securely manage storage keys. Enable using this > hardware on sm8550. > > This requires us to increase the register range: HWKM is an additional > piece of hardware sitting alongside ICE, and extends the old ICE's > register space. > > NOTE: Although wrapped keys cannot be independently generated and > tested on this platform using generate, prepare and import key calls, > there are non-kernel paths to create wrapped keys, and still use the > kernel to program them into ICE. Hence, enabling wrapped key support > on sm8550 too. > > Signed-off-by: Gaurav Kashyap > Co-developed-by: Gaurav Kashyap > Signed-off-by: Bartosz Golaszewski > --- Reviewed-by: Konrad Dybcio Konrad