From patchwork Fri Apr 5 09:07:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sumit Garg X-Patchwork-Id: 786205 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:1101:b0:343:f27d:c44e with SMTP id z1csp67451wrw; Fri, 5 Apr 2024 02:08:35 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXS12krLFPK+5ywh7ahzq9dti6gKO24GgotqTJCw4QHhjdvdUzQF/FDiWC/RgNfTsRa57Sp22P6lVQAKZkxnmDv X-Google-Smtp-Source: AGHT+IGW18RDHAW3E9+XSN38pyXL/UIKKmjFC48/Eldc090C8SH+tm81OPM95dHI8VIqRyZ4J2gw X-Received: by 2002:a17:907:7e90:b0:a51:ab69:dc50 with SMTP id qb16-20020a1709077e9000b00a51ab69dc50mr402303ejc.15.1712308115108; Fri, 05 Apr 2024 02:08:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1712308115; cv=none; d=google.com; s=arc-20160816; b=R8UhbjLt5ldf/RSio62ab0rndFVPr1gHsTqOuxGvmW6NcK6Va3moC4mU9TA3PDrNDL Ft/4PQX99zHvHBSutJvbwN5Emd2lY7Mk+aoXnUrJVoCaGsCawg8JkAttlQsJMPtSzx2V tPfm8R7T+tgI/nD45eMT7miaFmCF/BS/eklTBFlQg5C5u39zl2BoYs2jhNH+YYvjcMg4 OROv9AO6UB6qWpCCvbWunLWQMbt30s3j4qQN7YDdAvK9imMW9BcaqNXt04Z7qBKk3xRr T6k2ojbwv4AkJc/XUs+tOEJeUNryAdpPMIdByR7DRFzLUQLIUZu9leRCHvMZGZTlEXyO K3qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Dc669Hxd3L7ik8h7lySNB1oUOUXkl0Eh2aotssT77X4=; fh=T5H15yVH0x76eljP78R1SA5aX1AOqAQ+w8cgext4uuk=; b=kTtdDiMyy1n2JfFjO5EprLDkN+t52gHjnljfWUJjS+RnHMWv0SOLbKSDGv8Z/OPTpQ K56v0/ip805qOSP6EeKorVuEo0RnNJl9CHz7SXF1RpigTpW6LHXSdEHqutfy5kFnTl7B xFoZzfajTi8uwAosbgu/CU/iIFlG6ETmqEyTdYuOuJx8byjERrvt8TKe0a8WTMEta8Rh SsXM3YxKLrkciVgzTOZPDVzv/wyVoD/TE9QGu4oPqrSiyGemhasB0ZKMnnOTPuJdUIeB +vPg794tk+KKAyd3maDdmbjf8KL7vpPZlzilyQmLvvH1gcGmC1cimXcSbbvTShTLTbff eAHQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="bX/d/y/r"; 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 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 ld10-20020a170906f94a00b00a51962f814dsi509274ejb.257.2024.04.05.02.08.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 02:08:35 -0700 (PDT) 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="bX/d/y/r"; 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 Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 72192884E0; Fri, 5 Apr 2024 11:08:34 +0200 (CEST) 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="bX/d/y/r"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 76279882B4; Fri, 5 Apr 2024 11:08:33 +0200 (CEST) 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,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) (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 697DB884E0 for ; Fri, 5 Apr 2024 11:08:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sumit.garg@linaro.org Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1e2bbc2048eso12536215ad.3 for ; Fri, 05 Apr 2024 02:08:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712308109; x=1712912909; darn=lists.denx.de; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Dc669Hxd3L7ik8h7lySNB1oUOUXkl0Eh2aotssT77X4=; b=bX/d/y/ryPeE3f0BvpEFi3lQ81uMRreB2KUMw6itjOEL/2Oeb6p4J6/+J/tKC/Ocw3 Bhso9GGM3/t0KPA95i3BzR2Z9aTWg8HxgANiFmfU1PmDOWeggn1zZzpdeJWELMGhGEoI SDB9zI/RG7Gy16ue8f1KHWihReQFQtVP9nEgZY3kTtWMCbCwGi78gwqNbLN768iZPHbs dZapkCyy/WDwHQSoqcgUG73zM17PzNcm2AnrEraXUFgXW+IIST/taF6lMxrPoW2YUuzp 3ZUaZhIzkdcQKGQ84+U05WJrkQDEPxtJFaJ7528tUGVP85CeFi62VAsFRMtah7vdtQWF mLxQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712308109; x=1712912909; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Dc669Hxd3L7ik8h7lySNB1oUOUXkl0Eh2aotssT77X4=; b=sCmz9hqGQmlSAGy7Oall1o17jOxQk4WNATITURychToZIzch0DETj5aeTEnSfkkCVu k2fxMdhH9XINoDnFgBxL7gOYJUXR5Xvwj3/oVVo2AtoPzEwi65J5HESgRoQYMdeMgxc7 sP70Lo9r6ObYaEtCvaLwW0Pl/nI2GTnKYtZCXQkRjL6ux9rxn43B/519X0HNq9eN2rSY j+Wwjfyqmo2ax3e+Dayeg1pSrjlqmF9lmJY81/CcgqDTWqTQEQKHdV3SnpGWE+jOKDA3 TOaM3I8oRCDLcInNnEKTBJWKJS+SmxW+ZmNwuTbCdHwafevwnNJFbvyiDpQaWOGT0PxM BjQw== X-Gm-Message-State: AOJu0YzJTNNTQkq6AIsP9qBWPLSkbmrotBINqJ2biDt339110n8UBgIe H6EKOhHfciaRPKyho0sVfwA0C8dYXFRv3BjW/zv58fpxQPmIq8GYdasiiSJnez66cG7Glv4ZPpx M X-Received: by 2002:a17:902:ec83:b0:1e3:c419:35c2 with SMTP id x3-20020a170902ec8300b001e3c41935c2mr798221plg.34.1712308109670; Fri, 05 Apr 2024 02:08:29 -0700 (PDT) Received: from sumit-X1.. ([223.178.208.62]) by smtp.gmail.com with ESMTPSA id k9-20020a170902c40900b001e2c0b77b53sm1055959plk.255.2024.04.05.02.08.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Apr 2024 02:08:29 -0700 (PDT) From: Sumit Garg To: u-boot@lists.denx.de Cc: caleb.connolly@linaro.org, neil.armstrong@linaro.org, trini@konsulko.com, lukma@denx.de, seanga2@gmail.com, sjg@chromium.org, laetitia.mariottini@se.com, pascal.eberhard@se.com, abdou.saker@se.com, jimmy.lalande@se.com, benjamin.missey@non.se.com, daniel.thompson@linaro.org, stephan@gerhold.net, Sumit Garg Subject: [PATCH v3 1/6] qcom: Don't enable LINUX_KERNEL_IMAGE_HEADER by default Date: Fri, 5 Apr 2024 14:37:37 +0530 Message-Id: <20240405090742.4148304-2-sumit.garg@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240405090742.4148304-1-sumit.garg@linaro.org> References: <20240405090742.4148304-1-sumit.garg@linaro.org> MIME-Version: 1.0 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 Enabling LINUX_KERNEL_IMAGE_HEADER by default doesn't allow ENABLE_ARM_SOC_BOOT0_HOOK to work properly on db410c when U-Boot is loaded as a first stage bootloader. It leads to secondary CPUs bringup failure and later causing the Linux kernel to freeze. So fix it via selectively enabling LINUX_KERNEL_IMAGE_HEADER where it's actually required. Fixes: 059d526af312 ("mach-snapdragon: generalise board support") Reviewed-by: Caleb Connolly Signed-off-by: Sumit Garg --- arch/arm/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 4cdf08dd695..08ae7e51a6d 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -1088,7 +1088,7 @@ config ARCH_SNAPDRAGON select BOARD_LATE_INIT select OF_BOARD select SAVE_PREV_BL_FDT_ADDR - select LINUX_KERNEL_IMAGE_HEADER + select LINUX_KERNEL_IMAGE_HEADER if !ENABLE_ARM_SOC_BOOT0_HOOK imply CMD_DM config ARCH_SOCFPGA