From patchwork Sun Nov 24 19:17:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 845201 Delivered-To: patch@linaro.org Received: by 2002:a5d:688e:0:b0:382:43a8:7b94 with SMTP id h14csp841461wru; Sun, 24 Nov 2024 11:18:34 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVaI22Evx2COnFPnDwl+J9+mharLNYyqHyPw1uvWnn6pMnh/NFIRnPDNU2Da3f1OBPwEoNUwA==@linaro.org X-Google-Smtp-Source: AGHT+IHsUTI58DXTTXJRUPsMy+5BJQh9vHJQa1C2NtQ117Z241Fqsa+u63FUKj9nJ6/JAL9AO6sy X-Received: by 2002:a17:906:2192:b0:aa5:1a00:5189 with SMTP id a640c23a62f3a-aa51a0059edmr864213166b.28.1732475914761; Sun, 24 Nov 2024 11:18:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1732475914; cv=none; d=google.com; s=arc-20240605; b=ZPmzpd1L5VL409UA0lSuKkSqzWP5CtlV5DIv7eF1nNTUKYl7Uh7Fx7xpk6AGcct7oQ DlZcLymDDTWMgNBIiMjYXCMlwaAq1tM3YTySRxPUqM/tKv5dWw3y2BYrqvkW3raQkTUI ucffwpJ0ic990hxAQjGwYojBrtAYb1ffUTDNF0JhL2yc2uawRLw3UN8SsONF3Wa/sFcZ 7Kp/JaUlIBK2pkYOmjE1PiYAemyHfl5fJsB5kKv4fV1CCOFWtUSooyYJRQbKTagTBiof ZUqkr3cocNenxNXpUEHqlL2oIW3GcxI5WiVbLjPsxy8kQz4da5ogXHJkOaWLECmw8H3G bmtw== 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=ZhiZzlhanjmoy/ixJ4Go/EF0N+6n3Z+6cx+gDfMUfLY=; fh=g6j3SUyAhGUS8ikRCXsn3qFv1vKph7cSMPqtKbzTuc8=; b=Jir8Xrgb1r+OPgaZi8EoAo1gr0XLr62qFXsAVOOTaC0VzwE3/V89/jdtexVRGE02P0 Wc27S6rf8oF+9GGLyTv5bG68wKbF7lwdhv696Y8ct96biCJXV8WtQd6Zulja5jvg6TIl x3axhw3ucw5GAWJGVzy9eECLvYr0TyJuNj7aSjqljm2F/C8rIg9YBcQsv+20z1lnFnHx yOEqsxmDorqD5lp4qAewfhUc63tSnCZUAA7Cp1a0sXEld0X45FqOabIigOtnHTKMTf0E ziU3Ys+NlWQzVkvnp/BK0gFOWQYMpBP191O28OuHqh9Jcy/wZmdMInfIBkIhyvwziAVm HzzA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RgrI1GPH; 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 a640c23a62f3a-aa5168ee81asi365822666b.718.2024.11.24.11.18.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Nov 2024 11:18:34 -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=RgrI1GPH; 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 4E5F98999A; Sun, 24 Nov 2024 20:17: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=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="RgrI1GPH"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0E98689578; Sun, 24 Nov 2024 20:17:56 +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-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (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 0ED0C8985F for ; Sun, 24 Nov 2024 20:17:54 +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=caleb.connolly@linaro.org Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-5cfc035649bso5142523a12.2 for ; Sun, 24 Nov 2024 11:17:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1732475873; x=1733080673; 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=ZhiZzlhanjmoy/ixJ4Go/EF0N+6n3Z+6cx+gDfMUfLY=; b=RgrI1GPHDNT+BoKQ46ZJdUjJOwEEbxCfp9mD8oXMYStINPQuoXlUHQ/TpeB6yQi+Ow emrRDqLy0KqvkxBY8ZA2eCdthvSU6ISwLe9ffUvZzzYQoKqQdWvdyDSdYAEiTGjCg8e7 oV2MqaY/t+LamJZY8c7l1wHhv60xFus01kRwnfnYaj4MF3Dl8YTG1sXlbuJIGWo7UQvV nzfu9KNk/UDHVgwvnbA9FCD/hUMSopRWkqXf+/Cd8CFCFyGEf+J35eIKi/Wc0OMHD/8h edjol1htPTDpCCb0xxCocFl2/NYkgrbeAZHJmiNLYM3rxKct5SPMdPqLabHKO9DE9WGL oQvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732475873; x=1733080673; 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=ZhiZzlhanjmoy/ixJ4Go/EF0N+6n3Z+6cx+gDfMUfLY=; b=afUE3KFgBh8WBDydLZIm/PY8fAKtS/gYZtYQZza8nTJLfaBLh8wtnPfgCAaVZYx+xE sTwoFP/gTmeyRKwJGDaWkh9Y09wXzoTBmzQpmOIrtbHdQwbxpEznPnjRqjSS0S3ukhNP Lt8S9zemX+HU/rexElvE0RX8vocJlCZd4g5w/GBO9MQO0tomPfQr/vthHhyynQviScUR KA2evCZzl28Mpfq0qL9Ly0oten2zvnsWD+oaa/ZZhXAYtvRbnsmQ0rH/MH+wmeJnBFHp Oea08bBEmY4iupu6EghE/9ojTveI/PR3pECHz70mgxlsagIu0uDB5eHksd6k0s8oAns+ 32Ww== X-Gm-Message-State: AOJu0Yxnv9WzS828Ox1+CUQIJlzGIo7s/OZ6k0H1gJvtKOYv0TIdGEgI lbCaDm9uBaCMJ5Hq5pY3O3fE2orfO1oZbXIZ6E+HIzfZQpR5h+8EHbxc/G3VCe4= X-Gm-Gg: ASbGncus9ZOG2iluyfIEeIcsnPjuR3KUDVhmjJddH/4gTTkw3lBry7SgqJNrh5QNc7o 8S7ewVKvu/BN/npca0uqEyHqZ/hVUInRAegoUtTaGtYBLRV5FYySvUArnXSUiN/8Np1/q7ItKfS YpQ8P29aRl1AcQcXd3d2yKg+mUYw7TwHeZYpv9RGqeCw5x+uFfRrA+eL9fiVnct/Ge9Kbajwvw2 L1VhNhaReCAwiy8dVlLvxgOHsExq3gJbaeNiopuDzL+pUGODMZU5RWdFvn2EBiEZibn X-Received: by 2002:a17:906:1da9:b0:aa5:4d72:6dd7 with SMTP id a640c23a62f3a-aa54d7270bfmr179327166b.29.1732475873411; Sun, 24 Nov 2024 11:17:53 -0800 (PST) Received: from lion.localdomain ([2a02:8109:888d:ff00:ca7f:54ff:fe52:4519]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-aa50b28f848sm371874566b.36.2024.11.24.11.17.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 24 Nov 2024 11:17:53 -0800 (PST) From: Caleb Connolly Date: Sun, 24 Nov 2024 20:17:48 +0100 Subject: [PATCH 06/15] soc: qcom: smem: adjust headers for U-Boot MIME-Version: 1.0 Message-Id: <20241124-b4-modernise-smem-v1-6-b7852c11b67c@linaro.org> References: <20241124-b4-modernise-smem-v1-0-b7852c11b67c@linaro.org> In-Reply-To: <20241124-b4-modernise-smem-v1-0-b7852c11b67c@linaro.org> To: Rayagonda Kokatanur , Tom Rini , Simon Glass , Caleb Connolly , Neil Armstrong , Sumit Garg , Mario Six Cc: u-boot@lists.denx.de, u-boot-qcom@groups.io X-Mailer: b4 0.14-dev X-Developer-Signature: v=1; a=openpgp-sha256; l=1249; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=GQ1J51ZFIFNTHz0+gEMUUTu+0fC1jmMmL7XJDNL8JQs=; b=owGbwMvMwCFYaeA6f6eBkTjjabUkhnTn6hv/pffmzdGR2nlJa9UhCZsp8UsfmAmWb+daecPzj wjTtg37O0pZGAQ5GGTFFFnETyyzbFp72V5j+4ILMHNYmUCGMHBxCsBEorcx/M9UvPF072txxamH BGwq/7M+FDCV+tThoV305NtZMxaBtCZGhp0TKxeeM1rV+W+bYIyZVv1rsSmtKVruWof/L2Zjnqq 7NQsA X-Developer-Key: i=caleb.connolly@linaro.org; a=openpgp; fpr=83B24DA7FE145076BC38BB250CD904EB673A7C47 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 Drop Linux headers for the U-Boot ones. Signed-off-by: Caleb Connolly --- drivers/soc/qcom/smem.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/drivers/soc/qcom/smem.c b/drivers/soc/qcom/smem.c index 8515b8ae7777..7143856e85c3 100644 --- a/drivers/soc/qcom/smem.c +++ b/drivers/soc/qcom/smem.c @@ -3,19 +3,17 @@ * Copyright (c) 2015, Sony Mobile Communications AB. * Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. */ -#include +#include +#include +#include +#include #include -#include -#include -#include -#include -#include +#include #include -#include -#include -#include +#include +#include /* * The Qualcomm shared memory system is a allocate only heap structure that * consists of one of more memory areas that can be accessed by the processors