From patchwork Mon Nov 25 17:12:57 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 845355 Delivered-To: patch@linaro.org Received: by 2002:a5d:688e:0:b0:382:43a8:7b94 with SMTP id h14csp1313053wru; Mon, 25 Nov 2024 09:13:13 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCXc7opKSdLIIbMmufEebiFyDktQDAR+TCulMH3IOKXukGsTSGvvAELW5MRhIGS+NtvGf97wYA==@linaro.org X-Google-Smtp-Source: AGHT+IEjKLKFtapdoSELhMPvJu6qho3cZnbwc8B3u5EDKp+YL+z607Nq9qkP3/Srt0q2C8qiu4kS X-Received: by 2002:a05:6402:3486:b0:5cf:ac34:380a with SMTP id 4fb4d7f45d1cf-5d0207b2755mr8977844a12.29.1732554793563; Mon, 25 Nov 2024 09:13:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732554793; cv=none; d=google.com; s=arc-20240605; b=g7Ii4Z4yGP29B6F4RHHJ2WgB59d1QDklHZ5slZ7OL7//brmJgi5cd2n64gVftFI0ab VkljT9WHWv+WSCmH1/jUTj4fJw7PnGZshEYn5KIjkDyQC9/Ggs7LOQDrMj2SloalvWft R8vN1E9N95WR8mxvVDdqvs1cunh7PPMdGypnZpAnCsZoAF3g8G5UuxWIy33rKM4q6G1n NhaEf6Xho7XrO0IlldDLpE6uE77/gC9Wf2+NFFUOJafwJSl/vClkm3DZhjIUisGy0MRQ KFy0mmsp6eL0OIyhhOGdL9yA01n387ugCN3miE4OEguZoTL3bnsPx9kVMSL1ACvLh34q QqqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=mAeXDEtmKQtx/Y4UDIV53sYZdZn3U0huEcR0YJ+ZS28=; fh=mp9q+KS2lHpcq8rctuSa4AEaPi1fVSUhrtkuqPhoCvU=; b=F2Ssh6qZArV6mXvWizyTsn4w2J6NUTiMsZBitwIfNz6BymuryZC5jHj5iO3OmQjOxf 5iO0qulExT5S+zkFBNw3ZDjiKLC35eA9yzOloFPHD1QmXdakrwp4qsE4vaBp9EKN1S3p F6KgVkFYldk4IXhzcHkLwszy6ttTPXS8GBhKo7s/qm3kh/KlGn46KNlDPYrVqqkuZCKe 87QxbvMLRT5mIJ8Of07xapXrsIMr2JDMX/0nf+M1H64+3OFivQyrx7CYESd8lXssqVFY duQNdw7urmRwpbpTF77qxNUamKzZYteVXAaR/2M6nl38wCorwrNpXZyKvrKW5alFQEaO 7YLA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ri8xPTZd; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [2a01:238:438b:c500:173d:9f52:ddab:ee01]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5d06775c660si357813a12.303.2024.11.25.09.13.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2024 09:13:13 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ri8xPTZd; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 2a01:238:438b:c500:173d:9f52:ddab:ee01 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 49B2989559; Mon, 25 Nov 2024 18:13:05 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.b="Ri8xPTZd"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id E62D789A1C; Mon, 25 Nov 2024 18:13:03 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D2090895A0 for ; Mon, 25 Nov 2024 18:13:01 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=neil.armstrong@linaro.org Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-53de035ea13so1572630e87.0 for ; Mon, 25 Nov 2024 09:13:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732554781; x=1733159581; darn=lists.denx.de; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=mAeXDEtmKQtx/Y4UDIV53sYZdZn3U0huEcR0YJ+ZS28=; b=Ri8xPTZdPmhIKZOS+eAsozYP7lZ4eBKSNHiAZv8bXhdURxVrWWr2OeleG2kRgCG8ku /0DHaOq4xAS+edC/pnx5sFnEQ0HJjfqCuXiveWZ9GhdDpLB2z2CiHq5pJGbIbgkZ3SyN 410xlrb0cgkhGgKpxZfq7Ttxy2JbHf/AGy6iQYrpLPYvscicAb8nmzsUeRuN1ix4q/Qo yAWgZFwHso3+xIWGGBdkbamX5CynIZpbjXMlE0weIxlObUV7fIop1WQv4EDdk45M8mQy ZS/d96Adjh3VNjxndeutdDXA8RZcQioG1j3xLYBKnVCwNUt1l4VV4+XWZ3iCPlDOxWQs hbVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732554781; x=1733159581; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mAeXDEtmKQtx/Y4UDIV53sYZdZn3U0huEcR0YJ+ZS28=; b=tvQIATJUfGcvSGhQVSBLEbEZEFsl+NUilgLUeTvUOSdTMq7mnSgIpZe1HBzxEst9VM LqQw5EdxT2Xk4N3VlOPGrP6ZwCpCs3AJuMb4daY45te836LrLDmuBfwr3biwFzN1X16I WXchv8m+yvOY1rWgaJSroXlQoQqL3YFez1G42fnr3wYe1RwR/06HwDEDciTPMMn8jOiT 4v5/4yCciW2DcDRROD+XDbFKJ8dsUkTcD8741feTBAX8AFoXL0nHoIpaa5v6jI9+ADTQ /fzRRCjytlTv36jKO9OmulWTfXTsbRuYttv6NwHuTAf0nIpOoswEqEzEMWbePr0SdY/u DsGg== X-Gm-Message-State: AOJu0Yx9l5f+Vb8OkhNM0Jr/Xs6P9Jh+pcsHK0leGJV3BIfA8/q7286C 4MSwBv/Hy1b4Hymo3GOTzBMCKZj3xYPo8Mag2/6xdhWURUiaaVXEQkc6zzM7ess= X-Gm-Gg: ASbGnctOwx4gncI/9hR8wvibr4CN8foKymFFb5pK88CSsqUveA/42JRRo/TSxD2jp3W 2MulJJr7WAhkQJ5oWB1Y/HGA7lHarEuQtB5hnMxCXHpLM43ZJfpRwVAEDTOBTSrHq0P9Uy6iBzn DgaKieM0V5jrtw2KxdaJiVOciHjjew9BEX10sA/3o+mYfYXaL8Mjh0gzfgOE8I2fxOKsdHkckYD CfwEUPs+yaKNRvX3oJGf4oi1aZ7hqFzv4OIZqaIfRj901RzlPnTxyDZBWT5yPoYfCQzboE= X-Received: by 2002:a05:6512:e83:b0:53d:df26:b782 with SMTP id 2adb3069b0e04-53ddf26b7cbmr3107640e87.31.1732554780990; Mon, 25 Nov 2024 09:13:00 -0800 (PST) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3825fcff017sm10919419f8f.108.2024.11.25.09.13.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Nov 2024 09:13:00 -0800 (PST) From: Neil Armstrong Date: Mon, 25 Nov 2024 18:12:57 +0100 Subject: [PATCH 2/2] configs: qcom_defconfig: enable RNG driver and command MIME-Version: 1.0 Message-Id: <20241125-topic-sm8x50-rng-v1-2-52b72821c3e9@linaro.org> References: <20241125-topic-sm8x50-rng-v1-0-52b72821c3e9@linaro.org> In-Reply-To: <20241125-topic-sm8x50-rng-v1-0-52b72821c3e9@linaro.org> To: Robert Marko , Luka Perkov , Sughosh Ganu , Heinrich Schuchardt , Tom Rini , Caleb Connolly , Sumit Garg Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io, Neil Armstrong X-Mailer: b4 0.14.2 X-Developer-Signature: v=1; a=openpgp-sha256; l=886; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=vJUMWPzm73V7xONpa/LBdHLuHJz/FIZN+BIAep3WR6k=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBnRLAaNHxCmx/v8Pl5nXeZALJ1WZOxv71MInIy+lQC TNPnw42JAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZ0SwGgAKCRB33NvayMhJ0SexEA CcHpaURqF6VWqarEPsbUenYGAPA+EK1GJJxDPS89BXo8M7LPeQtqlqfNWI9zpb0UTJSFk86YFXBN28 Lx1vcCWEIDbK1IYOwqiSiqFJ3EM9c2/T9MRLpnDrmutnggmm6FmskGzIpHoipQlRk86dohcKQh0t6F RzVhGuMkYx+MtpIDh9M3yAWp3AW4inPjFs/2AQLDgTHyrxpsre9yegjRimNR2IRsmnqmVTdBEzx7jK EMR2z8mnrwWhdVlQ3ydd7pWikZRf+jA1ns0vTYPvbLa05GmtTwMrYqXCktctv6b3WGNivBCVPm1cML LCxtnYEMqBsgYuRg87oPLfCpBpLkp5n2TqVwO8kbThW5adLAMahNrioBYHkqhHtmuBZ+SGw0Rlj/7i z81E0xlPxUilVo2OwDI5gG+yR+CBY6A8saw7ZBqQXGJrKq3WXK3rtdc5thqS/uoEExYzcBNskC8XtE ignOld9UNJBqXKhrt0TmSS+qvafi/bHrQpQz8e5aSoYUMixeic5Re0PIpNEu2dssf5/KlLyuJECGrp yKQkCykE0eHIKO8kuwI62BaB26jVdpfRTKWNqbbk/w2caqdD1Xhls5qpHCZTWHRv8GO8ZTOLjEOVqD Cnnj0OkWvv2VZSh7AC7SvSUWdRdEzj5HxhRcnt6galN9n7N1PahrLxQvhD+A== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Enable the MSM RNG driver by default with the associated command, this will fill KASLR seed when booting Linux. Signed-off-by: Neil Armstrong --- configs/qcom_defconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/qcom_defconfig b/configs/qcom_defconfig index ea0dd3e58018c8bf08e4a455a47e29cf1bbd3c60..fa631ea4976a2c38494832b196c60fd127288cc4 100644 --- a/configs/qcom_defconfig +++ b/configs/qcom_defconfig @@ -34,6 +34,7 @@ CONFIG_CMD_UFS=y CONFIG_CMD_USB=y CONFIG_CMD_CAT=y CONFIG_CMD_BMP=y +CONFIG_CMD_RNG=y CONFIG_CMD_REGULATOR=y CONFIG_CMD_LOG=y CONFIG_OF_LIVE=y @@ -96,6 +97,8 @@ CONFIG_PMIC_QCOM=y CONFIG_DM_REGULATOR=y CONFIG_DM_REGULATOR_FIXED=y CONFIG_DM_REGULATOR_QCOM_RPMH=y +CONFIG_DM_RNG=y +CONFIG_RNG_MSM=y CONFIG_SCSI=y CONFIG_MSM_SERIAL=y CONFIG_MSM_GENI_SERIAL=y