From patchwork Mon Jul 15 10:08:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Caleb Connolly X-Patchwork-Id: 812610 Delivered-To: patch@linaro.org Received: by 2002:adf:fac3:0:b0:367:895a:4699 with SMTP id a3csp1724483wrs; Mon, 15 Jul 2024 03:10:03 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCXPMzGBk8q00bHj1wdofRMFXP1GceYa00HmdPeNHrZAaRq81c1RWYn2BHRlbnhvorSZY2AItIPZ8LrBGqQAmooB X-Google-Smtp-Source: AGHT+IFV4O4bsQcdXxOeoE5tAPsKaXPZMOE4ijTDK5tWWRno7jSDg7llGz5VXpT/7TuslyttMqUk X-Received: by 2002:a05:6402:1d54:b0:58c:804a:6f03 with SMTP id 4fb4d7f45d1cf-594bb58078bmr13520616a12.24.1721038203734; Mon, 15 Jul 2024 03:10:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1721038203; cv=none; d=google.com; s=arc-20160816; b=W0mly67usNTIOw+M2Elblx6Ny4ei+BbWe5GnsBX8YUNADSoBkvDY/mYMr44xCDIZ6U nQEqdEZhIDqpIPKdBm/z6OS4MWWcUTTD80ZTzyT6V3qHOeW3AqF8MQCOb+clfgwFr77O l4cW/a7l9m11nAqrnbPqTriGMKmT4+vbHTjwrr7IeoRy6lHTgGcJxBVkt16Uc+HiGJI8 TNUfV8j0GS8XFYFodrFXx89LovIttKcT7Ws30HObiWsLCOf2RXyKzAvQwpVgYvBRnJ20 q4Putq+Syqrm86fqtYET8XIGSNJ9kZMoRvTfXgXKr8YQybXh50MV1eEerKi0KfQGFHv+ wHYw== 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:cc:to:in-reply-to:references :message-id:content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=z5Jhey9+f1ctZXJj4kj8dZl2T5kKcAZR8OhsfmJbg6g=; fh=zcTfjI3NycJyTuuOJ9uzXxS7wfOr4sYKS7eKveHEFzw=; b=r7pHtT5jhc0QICMxY7IPBLTO8KUXa3DRT6PYoeyQgNM2ejM8Cn3QjnUYl6anMy8Vc1 flkEBj38RH0cAyn0sqy47BAGj14DylON0zLHn3YgQH/9u/9q3w0/FWjvYin9tg2s6pAD 39xitF3JgYOzMXYGGmahymfPF6Fzg7pNPTjJX25jxI/U55Wtr/Pzp+kbfIIoEar93T1G C0lo2yLBXLhHF2JCKRpr0MAThc3cAQcar0FVdwYWUsZCGti3kATVr40zSlkQ/dsFZDdj GjGSacgYKsnmJVwMXiyrvb7QoDEMpzK6rcjvszCUbINIA8iD5rQ4jcCnvXTLe+X7sFY0 pKxg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AxM9Styu; 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 Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-59b27629a43si2437445a12.599.2024.07.15.03.09.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 03:10:03 -0700 (PDT) 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=AxM9Styu; 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 Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 84783887EE; Mon, 15 Jul 2024 12:08:24 +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="AxM9Styu"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2D9B5887FE; Mon, 15 Jul 2024 12:08:23 +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=ham autolearn_force=no version=3.4.2 Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) (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 2752C8881B for ; Mon, 15 Jul 2024 12:08:21 +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=caleb.connolly@linaro.org Received: by mail-ed1-x530.google.com with SMTP id 4fb4d7f45d1cf-58b0beaf703so5082155a12.2 for ; Mon, 15 Jul 2024 03:08:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1721038100; x=1721642900; 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=z5Jhey9+f1ctZXJj4kj8dZl2T5kKcAZR8OhsfmJbg6g=; b=AxM9StyuInNgJxlBEvfwsvwqwlIikW2MvLqaHjh4hWU2iRuvJL3fkeQQ5QwO+8ql/k 8wEPtbRzooZGhQT0UmsdXPjzk0zkJxb7Z4xYdcPek/sREmxEkyNbE35CJG/LKLUbz/EZ 0zYLBKCswm4vLVGkSVs4IXsOShdbpTubq5Te6aJEYY9mGhIOIsV0YfGgYEopG+Qc8fn+ KoM3Enu5PBbQGpE3Javf3+1GxcVa4GeOnE9wxV16O7Fjtm6fcqWDbNhyNCyS18hWB8es 8yHL/tVDjVzt6vb4zVMpjpK5CHus1R7HPT2fNEgy3YlaiBsoNXxhyoWKDiTYdCfdsmCQ 8ozA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721038100; x=1721642900; 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=z5Jhey9+f1ctZXJj4kj8dZl2T5kKcAZR8OhsfmJbg6g=; b=B0370XrGTd1WUpPyOKfgxW2q3JqtlSFjJeJcHGkjhS/YaCA2239q6q4nslPbSz/iIV VP/+lgoIIGzC0LeoVvcsVmVd7D7429E6IzrRNVof0EDMAhSnta78PjyRal0coMU1llZv PssZNh4T5u/KbLfmKFqw4ISoPS2ytG9plVzn2B0mIa1eLl5zPS8XegifkVyJzHRQUE0Y SznYn9knuCHeEAmo0McL0ajmzm0R6bUHOXQPKM0UioyRkwqsKR9mgIsJecDA106F64Yl 6ae78aUgwuvEK+by4zhoJ1n4YGoteE4iGihC0hInLFBuO+GRxYRjCS1JuFjUglWjyuyE FR4Q== X-Gm-Message-State: AOJu0Yz+M90gi0hVLbSi6kQxXCiPbcaWr+x8APos9s4eOxL58p+pkTBR 7TZAkQ4hcy0jcTVgth+2WISASunl3TvmwpPiEzYsaG0r6hWGrW16ioh4YvSFVWTf2BtG17l2KDy 7kZQ= X-Received: by 2002:a17:907:9687:b0:a79:81a4:faff with SMTP id a640c23a62f3a-a7981a4fd08mr1224527666b.66.1721038100688; Mon, 15 Jul 2024 03:08:20 -0700 (PDT) Received: from [192.168.0.113] ([2a02:8109:aa0d:be00::7424]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a79bc5b7eb4sm198102266b.60.2024.07.15.03.08.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Jul 2024 03:08:19 -0700 (PDT) From: Caleb Connolly Date: Mon, 15 Jul 2024 12:08:08 +0200 Subject: [PATCH v6 09/24] soc: qcom: rpmh-rsc: adjust headers for U-Boot MIME-Version: 1.0 Message-Id: <20240715-b4-qcom-rpmh-v6-9-0c948a25d018@linaro.org> References: <20240715-b4-qcom-rpmh-v6-0-0c948a25d018@linaro.org> In-Reply-To: <20240715-b4-qcom-rpmh-v6-0-0c948a25d018@linaro.org> To: Tom Rini , Caleb Connolly , Neil Armstrong , Sumit Garg , Jaehoon Chung , Simon Glass 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=1744; i=caleb.connolly@linaro.org; h=from:subject:message-id; bh=OluQtwpeX7wRycFAM1tC9sPPwIq/cXlzKqKVg+yAZLo=; b=owEBbQKS/ZANAwAIAQWDMSsZX2S2AcsmYgBmlPUGfMKlwDr1WUaAJQmLhdlRzTXl0SLGnRr4z OsqIyOYzb2JAjMEAAEIAB0WIQS2UaFGPGq+0GkMVc0FgzErGV9ktgUCZpT1BgAKCRAFgzErGV9k tjsUD/9Jjp2q5n85u2//+8uHOvijprzSHW1XFDT0AlJD8vYScjxk/WnbAFRjKy75i9qLenoOn6R kjHAskT1TY0M4WJU8W3dXZTiQ4LF7NzVcaNalR5HUzdDB01xyyyVJaGSYZtHThi3punQZ1NLhTS OFEG5GeBYJ5tBzrQ8bg0fuYkQ5h/EIbbcCancHSY2kNVcL/GOd+LRqB4HXa+ynVg0YwSKQ0d/as wd13gH3CQixkfV+d7rdEUhCwIwdpKN18eVk77wghAr67WoMDSoOZjZUBAhnNI4p/7AH2U6D0HwG 68VeiS18CnoTGjtsZPdCVCcnWepIvIcGRrBHlmYs7zUW0bt8tGb1uWuMMwnYDEWfzHoz+z/6bQJ lZ7jY3f2j/AnrWA/8dio7HFdqkXxZPjkBi+dsDleSIRfpQESGOQGri5cAtFCga/LlBtMfug85Lz PmBARtGmGij9TXK8ZldifQ8RDXCNMZpkxRYyj0xHGmlK+LQwD09nerbzpfbboGSzUzyfGEwvt0n rP6uk3NugS424PKFBFcgG4yBJ+mGp5uxXiykRYc6t1W/8sFesS9FXWnrpSeBP/hqS3TXYTU8F2D rbqvyfGiWs4hs2YyBH++/Vv22wfVFQhIjS9z/Y0wY8KHs3EGSqDwmuUEpY/oWYp33wdIgDT7dKK iLowfYfg7n1Lj7A== 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 Remove unsupported / unused Linux headers and add those needed for U-Boot. Acked-by: Sumit Garg Signed-off-by: Caleb Connolly --- drivers/soc/qcom/rpmh-rsc.c | 36 ++++++++++++------------------------ 1 file changed, 12 insertions(+), 24 deletions(-) diff --git a/drivers/soc/qcom/rpmh-rsc.c b/drivers/soc/qcom/rpmh-rsc.c index fc8321bf208f..6b47c8001cac 100644 --- a/drivers/soc/qcom/rpmh-rsc.c +++ b/drivers/soc/qcom/rpmh-rsc.c @@ -5,39 +5,27 @@ */ #define pr_fmt(fmt) "%s " fmt, KBUILD_MODNAME -#include -#include +#include +#include +#include +#include +#include +#include #include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include +#include +#include +#include +#include + +#include -#include -#include #include #include #include "rpmh-internal.h" -#define CREATE_TRACE_POINTS -#include "trace-rpmh.h" - #define RSC_DRV_ID 0 #define MAJOR_VER_MASK 0xFF