Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1973443rwn; Fri, 9 Sep 2022 06:54:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR5Z7GvT1+yOOhWHFIsbPnifBauNOLmLs263M3n6FUgsJpZLUKRZmcCMfSLPZP9P92ElW/iF X-Received: by 2002:a17:902:be16:b0:170:8ebf:204c with SMTP id r22-20020a170902be1600b001708ebf204cmr14134080pls.47.1662731684544; Fri, 09 Sep 2022 06:54:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662731684; cv=none; d=google.com; s=arc-20160816; b=DH2/8wOleovuxwNxpxFcjOFBtYN883oe1ZT5y6Rsq+Y05u1mYaRbGVpRCFS4A7sske kLLdfv05x5jB5tYk/XLMmRhrU+xnDxrVTMAzBZybTzdjnRb9Klv1Vu1Vuu2Oib5scy+y CYmh5eePrh8HMjQl6kIOUlDCB3T5QdQelMx6k0tTdtzLkUoQT/vGZrRV2cLZU1/ldWcE NisEFlCzQ102F9J2GnEE3pZpdEatrrKZIrRYd/pAwZiA0pQx3MV+IAflsedKQolQZ+Qo fPq5P5BXUVqxlX1jr0giwkQ4ylsZC6xF91m5RE74zhqGk7eN5q4WbTqDWIMioMc1A1qX /DAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=A2vhTeSsXsSpvIFbaQHwGbbYM6Th28pyGCc3psxMXmc=; b=zzeqlDis/pOP5H620Vv5U0nsDTEZLUy+K5R5ERORAJATwd3zSjxF+F/e7Nr1qXq0Il jzk4HhmQhPoAjnsAW47s61fW5DxQjqKsO56gcySdyshJygYxUSTeb+Ve6fCCo8C33P6b VVSd9pzc2hfWHzcA3z9LV4iKccpJYYOYXbkBIavbh2QtDEL3rmBXzSVPD1Zz7R5ahOv1 EdvpaBNe6nDCupiWkmCG+rMLzFE6UB7wLtTs0GU2taXT3hbXCXyBAKoTphpNeOLWFAUR APEPKeX9qGNveiHLYuCjiAbQW0TKFiEct6e4nK41F8BoPCaHEp9U2dmosIFGRbrKBt/z c0gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XR7NAc8n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c11-20020a170903234b00b00172ded6ff02si606389plh.382.2022.09.09.06.54.32; Fri, 09 Sep 2022 06:54:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XR7NAc8n; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231513AbiIINlO (ORCPT + 99 others); Fri, 9 Sep 2022 09:41:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231200AbiIINkr (ORCPT ); Fri, 9 Sep 2022 09:40:47 -0400 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF8437677C for ; Fri, 9 Sep 2022 06:40:40 -0700 (PDT) Received: by mail-wr1-x430.google.com with SMTP id c11so2776016wrp.11 for ; Fri, 09 Sep 2022 06:40:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date; bh=A2vhTeSsXsSpvIFbaQHwGbbYM6Th28pyGCc3psxMXmc=; b=XR7NAc8n9CgaS6sCrLfbov4akqFTHC5omKNkd/BEDFCM0i4/j9XPRZtsLVlyvx69K6 MjiAi93VLDlJqnckjPROM1V2RzAwLqO4xswUF7RyH7cN3xz7GmkXsXR9V3oHiHkZKZtz OB9WFJH0y1kafTV8p3F7mNwZtsmHDdg5ID7nhGHbo4hpPn5Cv37Gs1igvFFoyxOtz6Z/ iMtzjzEyVDpy8ou5QPL60N3+ahKEaPGa1Px3GnHCz63EUuuO64bMg8rlscbFEFpybhxl n61rBMtaoNbhNTAEiHs/2VVKCdFou5Hh9rQ8vMPkYHtopGfCoj/DF/fBMTUBizTKzwoy W8Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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; bh=A2vhTeSsXsSpvIFbaQHwGbbYM6Th28pyGCc3psxMXmc=; b=GUdYBrlDPTcvcF1RsYtyYRiQ2WRSqItTX6acv7ks6bvJ2/wAq1C+PeKDK4CeqDfOPP 85GrIaNmji+jFCT9YfAmx1u3d0PY/NqT3ufiISqil8MUUM/DOwvLS4kgUGsI+EYxxU00 NpGGg/DVFibWJ3PnTpMb8DGvKOuPJq8/eYcHbTZ6F6Axvk+9gC5rncjI+azJx2dkcsYA /Hrd+I3zRgQOUsC9f9gSHKMZLDq9ddyOZOyOMOKBnYal3fO8+F3EdQgK0fiMTRKEac/8 PByX2QVMrEVspZKjg9pYx0YiWVMJs16AqLKzCipjFK2ZZo0RvkHrksVCWMZbhnm68VG5 Xwgg== X-Gm-Message-State: ACgBeo26xx9BANch0OjIJMD5HFOaQ8ZCvKgsUxdX8DqwqeXBsjY7R+lB Q0Jiy+9NoUDYUzyGJit3faV0BA== X-Received: by 2002:adf:ec03:0:b0:228:76bd:76fc with SMTP id x3-20020adfec03000000b0022876bd76fcmr8067368wrn.533.1662730838811; Fri, 09 Sep 2022 06:40:38 -0700 (PDT) Received: from hackbox.lan ([94.52.112.99]) by smtp.gmail.com with ESMTPSA id q20-20020a1cf314000000b003a604a29a34sm660622wmq.35.2022.09.09.06.40.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Sep 2022 06:40:38 -0700 (PDT) From: Abel Vesa To: Srinivas Kandagatla , Amol Maheshwari , Andy Gross , Bjorn Andersson , Konrad Dybcio , Rob Herring , Krzysztof Kozlowski , Ekansh Gupta , Bharath Kumar , Himateja Reddy , Anirudh Raghavendra Cc: Arnd Bergmann , Greg Kroah-Hartman , linux-arm-msm@vger.kernel.org, Linux Kernel Mailing List , devicetree@vger.kernel.org Subject: [PATCH v3 01/10] misc: fastrpc: Rename audio protection domain to root Date: Fri, 9 Sep 2022 16:39:29 +0300 Message-Id: <20220909133938.3518520-2-abel.vesa@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220909133938.3518520-1-abel.vesa@linaro.org> References: <20220909133938.3518520-1-abel.vesa@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The AUDIO_PD will be done via static pd, so the proper name here is actually ROOT_PD. Co-developed-by: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla Signed-off-by: Abel Vesa --- drivers/misc/fastrpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/misc/fastrpc.c b/drivers/misc/fastrpc.c index 58654d394d17..8bcbc560d4a7 100644 --- a/drivers/misc/fastrpc.c +++ b/drivers/misc/fastrpc.c @@ -83,7 +83,7 @@ #define FASTRPC_RMID_INIT_MEM_UNMAP 11 /* Protection Domain(PD) ids */ -#define AUDIO_PD (0) /* also GUEST_OS PD? */ +#define ROOT_PD (0) #define USER_PD (1) #define SENSORS_PD (2) @@ -1889,7 +1889,7 @@ static long fastrpc_device_ioctl(struct file *file, unsigned int cmd, err = fastrpc_invoke(fl, argp); break; case FASTRPC_IOCTL_INIT_ATTACH: - err = fastrpc_init_attach(fl, AUDIO_PD); + err = fastrpc_init_attach(fl, ROOT_PD); break; case FASTRPC_IOCTL_INIT_ATTACH_SNS: err = fastrpc_init_attach(fl, SENSORS_PD); -- 2.34.1