From patchwork Fri Feb 14 14:00:16 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Forissier X-Patchwork-Id: 865095 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:1568:b0:38f:210b:807b with SMTP id 8csp169245wrz; Fri, 14 Feb 2025 06:01:04 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCWCo+aOXooDq7QVcZWxi100v19u4Rndzb2IQ5/yG7s46IfuCqYL3OiSvntWg8vOUHWhUdGiBw==@linaro.org X-Google-Smtp-Source: AGHT+IE2wXHjEYKkUv3RDPcxoMXBuvBEldy2Rm1X/AOOP0+cvPFp4lVGuhKLQbgIcDnCDhJfW8Lv X-Received: by 2002:a05:600c:c8c:b0:439:4499:54de with SMTP id 5b1f17b1804b1-439601afaf0mr104964225e9.31.1739541663989; Fri, 14 Feb 2025 06:01:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1739541663; cv=none; d=google.com; s=arc-20240605; b=i2ZvZPHp/GZta/UT5iHahfWnVZ45r1vHisAoPjEixB6g5I0hZ0rBQPm+06yPC5DnVt 6aE/ReZWvpOIicBKzER3om2bYYYO94UvoI3E7bIj/d5ORLlCoo9tZUXLcgbxoeXrLJYC 4lV4GjVdilVmN00bm+QB2GYrEqp/+S9jplGNmzSqhESN9o0Ybz5mqq6kFAe5LXbnnc+1 yUs+Oan99KpEJSSnoAafEkY8c4vsL9Pr96i5bkZiF82Q1g8IeapVJQgF+GQ/C0f7GDHE 925FKqWSCv1hQQpl1y9ffkTh7ACf9oF5wASPbc+xctArUoswiwId4JnYcmVjgZ3WxMcj Cutw== 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:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=pJ/WOo4fTLMKMXvV7x5SKkbdsCeYlarnyOLSSxr3gnM=; fh=P5shqnZkgEpyixYF9GD1hH2/X8D3w3mrpJ0uSB5lpbk=; b=iP0qw6t0OL0+XVazqyprQgWuI7a/Zeq3P7R1/Tww02nUR8ZUs1jqeERiuLAdVdYqdK 3StC4rGs/Nl0UX9faMvZB+xW61zyLv/d5VVu3k1S5X7AqUrTPqa0X1B5eUgCfglZ3I9a jkKqdPYHKQbncmP9G6XAvkSRlomPwnUZYyPsrJdvwPgMb7JnnplwCHxrGcQafc6VVsqJ l897muwHDTqPp2tA7Nl/ahn+bptw4RjKRMBCF8kfj846PDoI0P7h9AIPCgVl1BlT8R1I aMVgJcQZkpgjEbsSVhOYbX236S0ubEgwt7thjWM+4psmZZvCKn34JBsqtzP2VJWjdeyb SdQA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QD7BGyyn; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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. [85.214.62.61]) by mx.google.com with ESMTPS id 5b1f17b1804b1-43959d49c18si62576265e9.55.2025.02.14.06.01.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2025 06:01:03 -0800 (PST) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=QD7BGyyn; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 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 678E680B98; Fri, 14 Feb 2025 15:01:02 +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="QD7BGyyn"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id B4C6B80EAF; Fri, 14 Feb 2025 15:01:00 +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-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 9368A80756 for ; Fri, 14 Feb 2025 15:00:58 +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=jerome.forissier@linaro.org Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-43690d4605dso13744295e9.0 for ; Fri, 14 Feb 2025 06:00:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1739541658; x=1740146458; 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=pJ/WOo4fTLMKMXvV7x5SKkbdsCeYlarnyOLSSxr3gnM=; b=QD7BGyynAUcYKovHDQ5QZyWCCM2bMrVjbXgvQBxbB/mXJvxMr+Cx6FK63Mz1/Hu5Zz StnRLy1InPzjFGEO4rn3wuHMQrkjfgW1cxfWJf0ATsNx5YjUqhHICghvmFMyPa50j9S6 +znX5MVgB6HqPjmClqmPyD5Vle51hXgveSqJm2vFayCNo45TgLCTi+qKROe2+7P6Ivkm pGNlX8h19LLPuMKiQ55YqSe6Zm5qiuz6uK1GCvT8gQEFPeKfg7XLCm2M3VKJ7vjtzgGG klRTmK3kfvK9kZj69Bai0t7SSIxXcVUsBTF2qzzfn6XiMTB9THo3a/NhnZdZYHjNv2TO Jz/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1739541658; x=1740146458; 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=pJ/WOo4fTLMKMXvV7x5SKkbdsCeYlarnyOLSSxr3gnM=; b=b10GyyRo7grc5I8sGb+f6/2cVpngtTXzaGEpVUycwTZ0YR/vVtDD67XqkahF1hCykc H+6Rd17nPAZuu/aaeXOJQq/hF456kyhQ6g011D25hTjknb4TZKo4CaMK7jhNXakiLQio LS2zhpu6N3RCJKF6iw2vMD3awoaqpwaH/ETDAjRo91pzzHMkxFCJRUPMCZGwNHQFqaU0 Q1F14AJ4mcL7Kdg5M8d3f9xWSzHPQSHN0Xc1D+IhXyy9gBk/fXImPN/sVLTVumI6w7zk DlDHaKhunFaFtYd++QEUGr1Fiow8ytdp8hfD7+q8ysr7Y3MbJWOfpaNC4pkP1xOxP61d FU8A== X-Gm-Message-State: AOJu0Yy/xKRoz/P/UtY9pvDaQpv4fi+DuLA5qd+3udBAwnqElLXaw7qD Htxpy8VfTxOXxCqEQgqWZEd8lL6rwZQAmpWX5o2CPPVm5hN7UOGWk8TXZd5LmlIOT7kb9subTLP fUXvKPg== X-Gm-Gg: ASbGnctwYdoLIItYWz/qRD+QH1zbmQpeYVoczqFHsCGNWF6IdkXmDbizvhpNrNR4Gqd bqr+9UTJSE2+126ATEPVHN6+X9/bBFV9suBF9m5sGn5QfaMxF8SjefoTBE6JMnzrgbSKySy+eBF xRKQqLxiD5RQGhdFyREdsY+I6EXxOdyCgjOlLDobsdMAWrZZABSMxW7s53k5qhmh3jL00J8bCvY aIjsuVfIqLxasBS980ApdE/yrMIp1SSbZMeKDueFYe18qa+AsU3xDctvTR/NUXFB1x8VCfxN7QH LyLj/HsGpJj1ipitp77N3IPd X-Received: by 2002:a05:600c:548e:b0:439:5aa1:1efa with SMTP id 5b1f17b1804b1-439601a119bmr96458835e9.22.1739541657624; Fri, 14 Feb 2025 06:00:57 -0800 (PST) Received: from builder.. ([2a01:e0a:3cb:7bb0:65ac:d875:2c3e:607f]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38f258fc7e0sm4666391f8f.48.2025.02.14.06.00.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Feb 2025 06:00:57 -0800 (PST) From: Jerome Forissier To: u-boot@lists.denx.de Cc: Ilias Apalodimas , Jerome Forissier , Tom Rini , Simon Glass , Heinrich Schuchardt , Dan Carpenter , Andrew Goodbody , Yu-Chien Peter Lin , Jiaxun Yang Subject: [RFC PATCH 01/10] arch: introduce symbol HAVE_INITJMP Date: Fri, 14 Feb 2025 15:00:16 +0100 Message-ID: <20250214140031.484344-2-jerome.forissier@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250214140031.484344-1-jerome.forissier@linaro.org> References: <20250214140031.484344-1-jerome.forissier@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 HAVE_INIJMP will be set by architectures that support initjmp(), a non-standard extension to setjmp()/longjmp() allowing to initialize a jump buffer with a function pointer and a stack pointer. This will be useful to later introduce threads. Signed-off-by: Jerome Forissier --- arch/Kconfig | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/Kconfig b/arch/Kconfig index 35b19f9bfdc..8d5b54031b3 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -13,6 +13,12 @@ config HAVE_SETJMP help The architecture supports setjmp() and longjmp(). +config HAVE_INITJMP + bool + help + The architecture supports initjmp(), a non-standard companion to + setjmp() and longjmp(). + config SUPPORT_BIG_ENDIAN bool