From patchwork Wed Aug 29 07:57:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 145396 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp379602ljw; Wed, 29 Aug 2018 00:57:36 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaBQgKVuRS/jjUwLdLpj83xgOpPbgvTPY+L0tPp5tETtW3pjgutFGYG0iwF8e4dpwdKnTfd X-Received: by 2002:a63:2906:: with SMTP id p6-v6mr4699638pgp.204.1535529455942; Wed, 29 Aug 2018 00:57:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535529455; cv=none; d=google.com; s=arc-20160816; b=m8VZ5tCqx23CFqza0W8SQRa20loeaQSIClbCQpgPs2VjMJ+FtikiNG9VC+bz4axXFR vNX0U3S/+KKgJ74nQpP26LuUdYq0e0oMKQLAnmBx1xRiP6YTAkpv3FKmYD5LVEt2OAoY kRKX3CI1s0GjvcHZJ2KNj6detHxZ9AbMzn1YbupsMe2xRfazj/ELfVKuS/SRc+A5YYjG 6upuJLGy0ZTJgMBtQ8g6AvwONM3guh1oVD4WdR/QAw3HvjrRGnUgyrP67D6zLjQZqVGQ XebhRZv8HdrMSaBicZxSn2TL6bvy3QLELjpO79E1vehC+Dv9ovWGb/SdykRsoVXpkxgl fDlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=me8/a8IQyU0522obqv5m6glMpeNSmc8yqidyogcAdvg=; b=eh3/J56gFEtnxLEOc9DUOF8nZ3ZgvXIGWlVhgqWqg1iL2PCiBhQVaVc8HCymRw3c+9 z0HhGLTZUQbSMfnGz0AqXrkhJ2KbirFXWKB1b+z4C9NiITO9SP7XXZh78dCxi+vHp6U+ HFa5kQNi+ahW6icNX5q94gUX4HN3M9y7AmJiTb4x9pB/AkN66tUfzveYolcQn0FEXnrP OisGOgcPy6q7mlvyFoNf6iisy7Cy4fImRAvfbBYPZXFRIQEzFtO7kZA7YzZPV4ZJ1T3L QJDECN92vjdsFb/NgvxxHtMXya/1hHoF0VDAh3Z1ff7DMonQ4+vXo4fysYEnfc0tqYZ9 Jz/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Mq0Ewk/k"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u20-v6si3285439pgj.443.2018.08.29.00.57.35; Wed, 29 Aug 2018 00:57:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="Mq0Ewk/k"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727943AbeH2LxJ (ORCPT + 32 others); Wed, 29 Aug 2018 07:53:09 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:43685 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727399AbeH2LxI (ORCPT ); Wed, 29 Aug 2018 07:53:08 -0400 Received: by mail-lf1-f67.google.com with SMTP id h64-v6so3495057lfi.10 for ; Wed, 29 Aug 2018 00:57:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=me8/a8IQyU0522obqv5m6glMpeNSmc8yqidyogcAdvg=; b=Mq0Ewk/k9dvIWJCv70o4LxMdJBhP8q3S9j7CnrrXiROMkWok71hmVXr1JNITV/ba4Q ooKUcuDLW/1lQ/nSYybGtGvNC+yC8Sqf0B14Xj3KYg0KHxhhpEzDrOhEEpz1FIaeG6uK nerGN1WPXhS9RCVtJh5i9PKQpEFLY1z/JaYtg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=me8/a8IQyU0522obqv5m6glMpeNSmc8yqidyogcAdvg=; b=khH1a9K/mjdotMBphf3ztTLUTiK7uM8oitMSamWAfVLgyiWtibgeoDEOAySzDzeatH 5yZRPEXQ1i+4Nra7XWYw6HUdEz26dxdiDjeF7J1x7EI0kSgLVZweIAw/wkbAVXPvY+x9 4WCRsfJTnKrRbpJWn3pE2IzeW98HjpGQ31+4xenk/RlEuGSZvJd+5GVeC/jgw+ixQ4St dQb9tcy8HwiZ0M1xL/0Vg1UcctwZxVymmBFgmJubZxfPISZ26igxTqAEsNJkUJymklw4 Jcd3NYR+Bfq74SDlD9JJ14HRXblIZ1fUe/xxOwA/zyajB4EmLAiC/vYhTMg4iylMPf4d rZHw== X-Gm-Message-State: APzg51ADWrbNvAcSrkqSPbCkaQrwKORQLEGHoj+20Wk86GA2qlu8p5b6 Posv37y+/irtCpwL4BdnNCO4dg== X-Received: by 2002:a19:4a09:: with SMTP id x9-v6mr3598774lfa.80.1535529450033; Wed, 29 Aug 2018 00:57:30 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id u19-v6sm596232lje.51.2018.08.29.00.57.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 00:57:29 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 2/9] soc: qcom: llcc-slice: Add missing include of sizes.h Date: Wed, 29 Aug 2018 09:57:16 +0200 Message-Id: <20180829075724.9095-3-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180829075724.9095-1-niklas.cassel@linaro.org> References: <20180829075724.9095-1-niklas.cassel@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add missing include of sizes.h. drivers/soc/qcom/llcc-slice.c: In function ‘llcc_update_act_ctrl’: drivers/soc/qcom/llcc-slice.c:41:44: error: ‘SZ_4K’ undeclared #define LLCC_TRP_ACT_CTRLn(n) (n * SZ_4K) ^~~~~ Signed-off-by: Niklas Cassel Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- drivers/soc/qcom/llcc-slice.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 diff --git a/drivers/soc/qcom/llcc-slice.c b/drivers/soc/qcom/llcc-slice.c index 54063a31132f..344dc2daf431 100644 --- a/drivers/soc/qcom/llcc-slice.c +++ b/drivers/soc/qcom/llcc-slice.c @@ -13,6 +13,7 @@ #include #include #include +#include #include #include From patchwork Wed Aug 29 07:57:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 145399 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp379828ljw; Wed, 29 Aug 2018 00:57:52 -0700 (PDT) X-Google-Smtp-Source: ANB0VdagqebDFp9P/DDYcaA8jiYCYJlqo05x68nS3fGFYKj1I7GZvZYQ6aHNw8RjC2IBa4Dbpj7/ X-Received: by 2002:a17:902:ab93:: with SMTP id f19-v6mr4753723plr.252.1535529472786; Wed, 29 Aug 2018 00:57:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535529472; cv=none; d=google.com; s=arc-20160816; b=ue1mndWknUKh8QH64pdchqVhRp9Hms9677qIAHCZYpQmBo1DqFVM89MoB4wQBPe3YF hPzJ0uXNMcTbRSmXAivWAxKc1JV/kjLYiIUWGw6EBNyCObM6KkIXfwc7iim36UVIOtFE ThyVKOYISSWyrUPaobrx2xt4WP5MDt+8GbE0TYiV65Ajr0SReyvwprUtPxtG3/N36VfV ERTLAgwZ8P/0XL9xSrZ2hVshPz/C2nA5ky7L/IM2DaHJlJbng+4hHdhIFXhQ0AV+HwEZ 28NWz+IgcIljQzvo8o3QHc3nzCqaIZmUTUCIC2L+cKCeK+eZ/wDVMOvyhdYP3B2TuRDK ScKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=3U44mP/4tqzk7kSCJX0RAmaX14j3xW0Xy2yzquNCJRQ=; b=KHK5ML6a3V0QhMx8q24qh22/siST7lVkwfCYfBWtdNQQHDjVHoTOyMOT62ZVfFiJS/ S+2pfhb4QTPuFjhrHqk4wrgRQsqmuAwi2Kh4IZOl5InFLLC9DYrtLhgRdA1+9JtDVAyX sSBD0rRUojvsY0XpPfULKpaMtxKaTkWVycww/QR7G6Lt9JiRdY96pmaKtqk9bKoMlgCJ 5g0Gz45D61MLEQ0f54zuIcgqcXdX9NF+oVWOpylP0tgnTsh2GKCRw5RTSxeJZ0nfPTTl EGvqHnstfOzdscvxUUeuLvaneK2akkgQhNma8ShSqwRWqr7HwvxraaOslK2Rqhsd/ZJA 7TYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eu8V9hz9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m33-v6si3112239pgb.450.2018.08.29.00.57.52; Wed, 29 Aug 2018 00:57:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eu8V9hz9; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727957AbeH2Lx2 (ORCPT + 32 others); Wed, 29 Aug 2018 07:53:28 -0400 Received: from mail-lj1-f194.google.com ([209.85.208.194]:39284 "EHLO mail-lj1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727072AbeH2Lx1 (ORCPT ); Wed, 29 Aug 2018 07:53:27 -0400 Received: by mail-lj1-f194.google.com with SMTP id l15-v6so3581988lji.6 for ; Wed, 29 Aug 2018 00:57:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3U44mP/4tqzk7kSCJX0RAmaX14j3xW0Xy2yzquNCJRQ=; b=eu8V9hz9ES6iPGUJKMQcjeSNZfOxYOoVuEiZ8wPZUNaXTdHf1L38b3TuFuzs3EAXNr 7cghXi1vB+ODiC1UJ9tdbT+WHXcTdYDEHWmO+FQ1GS14ZjDZ2JqDWq948IABZjLFUjjK fKnLBr4UvCg5dZGpKcql2qdNPExdEljrvQab0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=3U44mP/4tqzk7kSCJX0RAmaX14j3xW0Xy2yzquNCJRQ=; b=GlHUkYI0s1Ve2WGWNrI76iX9ANZ0UV+byoKk8DVJOQD7ixi1f/hsRbsaq4rqnZ/eeG uuPUFa68fTKY/6JsmSYQ/ue3qiLY6EVpIGeTIiivZYENcCgW+s1boqPqHL75kDhE0rG7 vLRGMT2EwR5XTi6+F+LPpXLrth7DZqjdD1E+trA2RYJ/3HamOpGSvJMSf9mxTD6HJ0Ms qAa8S5WDJZ1ZgL87qx0tD2/qPzQc7izt2iIRy4SJ1RrMW1IEbxcVt0Cpm3SkYMBI8icM cC9SgCSzWHl1I6Zvcz4TNPic2+cMAnnYw671i0YnfTAEZ9/VK7NGXGDST7OwHaXSKeEL AueQ== X-Gm-Message-State: APzg51BESWzpl1QQDswqcQ24cEapWOcbBFLOEbbGda1CfWMqaRx/2yJ0 ENisvmbfQnLxIxRl2csi4zydBw== X-Received: by 2002:a2e:6e04:: with SMTP id j4-v6mr3553174ljc.61.1535529468214; Wed, 29 Aug 2018 00:57:48 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id f7-v6sm613386lfc.4.2018.08.29.00.57.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 00:57:47 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 5/9] soc: qcom: Remove bogus depends on OF from QCOM_SMD_RPM Date: Wed, 29 Aug 2018 09:57:19 +0200 Message-Id: <20180829075724.9095-6-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180829075724.9095-1-niklas.cassel@linaro.org> References: <20180829075724.9095-1-niklas.cassel@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QCOM_SMD_RPM builds perfectly fine without CONFIG_OF set. Remove the bogus depends on OF. Signed-off-by: Niklas Cassel Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- drivers/soc/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index 7da6e67c7ea1..ac657164a136 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -114,7 +114,7 @@ config QCOM_SMEM config QCOM_SMD_RPM tristate "Qualcomm Resource Power Manager (RPM) over SMD" depends on ARCH_QCOM - depends on RPMSG && OF + depends on RPMSG help If you say yes to this option, support will be included for the Resource Power Manager system found in the Qualcomm 8974 based From patchwork Wed Aug 29 07:57:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 145401 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp380051ljw; Wed, 29 Aug 2018 00:58:08 -0700 (PDT) X-Google-Smtp-Source: ANB0VdabbU6r4pzQOgckyqm4Awo7W9k4FPz3wn4S3GHva8jXlycPIzOLucvZ0HDNtFxfFDKMy3aS X-Received: by 2002:a17:902:4d46:: with SMTP id o6-v6mr4824237plh.59.1535529488464; Wed, 29 Aug 2018 00:58:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535529488; cv=none; d=google.com; s=arc-20160816; b=mM2Klcez5w+fpCQ/r7aQd20l6SII3RNqOAjMfRDygoyJC4LHC/5cYSrgMUS2lh6BFn T5jpXN95b5ImHVxVJW6uG3oQRHpykE9fbG3on+Aa6EeHJ2zzigikKmp4Qpr76uz/ThJf 063cJr8r2s+1EIvfb7Oa7mTzENeL63ROyWdsPt/CleaPT5K5rvThFAz0XxEZW/RvaiKd T7884zSMIe5E+OSRR+fMlTLeMf2ihdHTKtrvph84+JGyuZIxb8rSRu9YIv6FhwJa3BVw EkL/UYroScLitibJYCFMWEB6y2EYP1YbPzOzHRZiqo3OzBaAMCB8WUVPGMI69RGYSaCy CwnQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=zObaoypU2uzVmbj0aozqxiQCeTZ60KpvPIYalSHTKxM=; b=SZtgqfWm+GKzHYm92YiO/6DyCgaqmLyyF220vWu/c2Aiy+wP37/69ShWQi7kavgSFO 45FCWQXAKVR2bYXQ5GimJsS9iJqhHrtzZ+jx5LRqO7Kw82l6HE7C0yFzyP5IRyVsmcG+ l8JHeZraiRjdkRDKt18uuGd5WoL68jqigMY6E9+DxnICrrBabtFkI4mElSes9VbXEgGY UIlSEFrfz7ZrQI6+/s8zWG+7WD+HnXXEa2/nZngVQsOh3VJhuT0AQ+H1n9FAdF17mkLx 3XCG5Qdv+aRkYMpyv32QMA8HbtnIGki4AkUCNc5j/KycZAVFvz+G5ao0AgkP5dg8B+tO 8WlA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="i/YkCFfc"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w7-v6si3347997plq.198.2018.08.29.00.58.08; Wed, 29 Aug 2018 00:58:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="i/YkCFfc"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728036AbeH2Lxn (ORCPT + 32 others); Wed, 29 Aug 2018 07:53:43 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:35705 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728000AbeH2Lxm (ORCPT ); Wed, 29 Aug 2018 07:53:42 -0400 Received: by mail-lj1-f193.google.com with SMTP id p10-v6so3594577ljg.2 for ; Wed, 29 Aug 2018 00:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=zObaoypU2uzVmbj0aozqxiQCeTZ60KpvPIYalSHTKxM=; b=i/YkCFfcC+jM4HVp+90ZuD4vJtZ0EfxuG6XIt4Ystcb49J26d2NVWaC77wVAFj7U2a FexZAs6M1LfUOEKjCumWJ+TUsDThYLmGzretMbtol+9JcX+o8VURyq6bLr2Wdh+xR41o qH7ieaNDYliin5OwconCMi2Sd16Qsw2Y2sPik= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zObaoypU2uzVmbj0aozqxiQCeTZ60KpvPIYalSHTKxM=; b=kSEwWsckLBEEKXAITHiY1wd5iAQFpCEoJiRLuIsp4fcQs7A3JK590XRjbHms1OnLfv ZuAppngo8HtyaJHe+BOZFH1TjbccPMOKmw2idMs+G0DFqxzVE0kgYDZ1dZHvJZb5F4Wh 7hdjuo/h2E1xxyAOUJFyWYQ60oH33qye7bcVHWlczbOVf/Th0MN2p632Q/SWdblu+jkz kIPGKzmCBIkHViY192r7+f53u6N+cdB/CUQ6IzcQV/4toVXAjKk31UjwIinYbZ6QP9Yr fa5BzW2nhZUmHNNSXiz19P9+HDHQDrNLPkIMmaAJN2kWGFCS+UW+oYStJjCNICGp2zVU aaXw== X-Gm-Message-State: APzg51Atw1bM1czke8NnY30Bq+vSKpQdGTT5Hw/Wruzv6QYd/Ai4OyYY nH5yqV2CnKtgYQHIQ1fGmlnASg== X-Received: by 2002:a2e:97c8:: with SMTP id m8-v6mr3726571ljj.52.1535529484035; Wed, 29 Aug 2018 00:58:04 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id j9-v6sm592303ljh.40.2018.08.29.00.58.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 00:58:03 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 6/9] soc: qcom: Remove depends on OF from QCOM_RPMH Date: Wed, 29 Aug 2018 09:57:20 +0200 Message-Id: <20180829075724.9095-7-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180829075724.9095-1-niklas.cassel@linaro.org> References: <20180829075724.9095-1-niklas.cassel@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QCOM_RPHM already selects ARM64, which always selects OF. Additionally, the rpmh driver only uses linux/of.h, which has dummy definitions for all functions, in order for code to to be able to build without CONFIG_OF set. Remove the superfluous depends on OF. Signed-off-by: Niklas Cassel --- drivers/soc/qcom/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index ac657164a136..cf4ece232897 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -94,7 +94,7 @@ config QCOM_RMTFS_MEM config QCOM_RPMH bool "Qualcomm RPM-Hardened (RPMH) Communication" - depends on ARCH_QCOM && ARM64 && OF || COMPILE_TEST + depends on ARCH_QCOM && ARM64 || COMPILE_TEST help Support for communication with the hardened-RPM blocks in Qualcomm Technologies Inc (QTI) SoCs. RPMH communication uses an From patchwork Wed Aug 29 07:57:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 145403 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp380290ljw; Wed, 29 Aug 2018 00:58:27 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYPFDOaRyOGOS7jGsesoVdTTuP/yQ6LszYBtDMdVODu7Z6d+SVYgy5cGU8Vi6oN+rb3abgK X-Received: by 2002:a63:5a13:: with SMTP id o19-v6mr4611058pgb.75.1535529506926; Wed, 29 Aug 2018 00:58:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535529506; cv=none; d=google.com; s=arc-20160816; b=uO0I9Xa14q+OdEpGtg93aTwgj5SahZi+GmVwZrohRq1U5v0x/Kr0hxFJbVziGppF8z qWxrTZ+lY96rdO/ayV2At2Fw+jFGhMOG+gX7DfpbkplHri73y3N9rf9KYIGJdqYsyXMy 08/StfHj8g56eX91qVrgejM9zO9tPrFYa5ETq1lGe0VIf61PtToY7cdIJ8U21owYm+Ka 9O71SsSFB3T/xB3GxKr/xJxUISyjUp2KdKOUFY15i5ihlCF+rgm/CZkIzCBmvSnoPJLB jV2nCVFMydSbei2XlD4fpsdE8fKqq5vt/5KT8wk+g3qLfgSvUiK3Su/eVuwcgzV+J/Kn ROLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=RPmzBAaCwGcvI/sAuYQ1Clo4rSi6tAkAe6FRcMV4N8Q=; b=Zb3rMTCDiGO/mgh+tAluIL21o0E1P48kwipUYdVqcQXo8fs/iyRZUZ3Kn7PO4K7j+Y my5OS/jtPmtCnGnctCRpdn77UNE6opixBQI+kGIC28aUJH0UfTL6CMbmNQKHdkgHpMGb 3LbyrZzYpJGSmaX+fKByN+j/zHn0bDpO1Ez10joRIC7p8vod6ID0gzqlpmWNfNWvhehO 56WZt61hZqutCPaQlZdteqjrjy3PU3tpBR5STMgG5lUFkJWXs3IvBXk9PZ4pSAdQbsPo BedqpnVpEhLVTp7SMfZJnwhvCzvRF56YlwBkALCznIIOw/clyGfInj7B+HFN7caHr5R3 BjRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="HW5/fEmg"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d36-v6si3094727pla.446.2018.08.29.00.58.26; Wed, 29 Aug 2018 00:58:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="HW5/fEmg"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1728096AbeH2LyB (ORCPT + 32 others); Wed, 29 Aug 2018 07:54:01 -0400 Received: from mail-lf1-f44.google.com ([209.85.167.44]:41552 "EHLO mail-lf1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727658AbeH2LyA (ORCPT ); Wed, 29 Aug 2018 07:54:00 -0400 Received: by mail-lf1-f44.google.com with SMTP id l26-v6so3506213lfc.8 for ; Wed, 29 Aug 2018 00:58:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=RPmzBAaCwGcvI/sAuYQ1Clo4rSi6tAkAe6FRcMV4N8Q=; b=HW5/fEmgKIUafjeUg4zbJPEGYLu/s0WsK6ytwflfgvJ9MHT7krbYvZXp1jujKnYoGf 7CKQ21h+087UWapk0Wg2LFKg4us//HMcr0pPT1KBMoueiYdGndgsCQKOg2tlWWv4MyII Q6w5V44OtoZ7MTO5MUDKg/S2UmrcSQ0P/G5i4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=RPmzBAaCwGcvI/sAuYQ1Clo4rSi6tAkAe6FRcMV4N8Q=; b=I0AMIMZbOgTcjaQC8dH5FsOekGLInSl8sNE07hiclxwDWuCp58EmAUrw5z2THiOKTd tqgZ0NlqU2BSYEuu/POoi3xi/yNqGD3ttTujj31GW2GtuqRdzC5yZJt4PcvHRvHBCGiV aMUPCiyFAJ1ATPvWHJP8X+1xOMnvhueoOdF2xXlpaI/rQLJscObAsZQ0rav3h3THGKd2 I2LhY0DOu0m5l+44T0ay/1Jm21s6g1A9OHe65NhrJVhXlhBZaB/UNGLd/vms+pa+w/KY sY4o9AE+TFl3aXnJnTBW0jSSalU3xfMMwqZTA9N1EuErR2eTeCaeG6vfXthcQ5WnyRco 6ZFw== X-Gm-Message-State: APzg51DmSIeo99hzDsZTmZWczi5aO6BnDzw1AVtJNfF5c6ZnW4TDhZEl /WoajScm8AVEouYkFaaG02BE/eOOwe8= X-Received: by 2002:a19:290c:: with SMTP id p12-v6mr3374579lfp.124.1535529501784; Wed, 29 Aug 2018 00:58:21 -0700 (PDT) Received: from centauri.ideon.se ([85.235.10.227]) by smtp.gmail.com with ESMTPSA id y16-v6sm596945lje.30.2018.08.29.00.58.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 29 Aug 2018 00:58:21 -0700 (PDT) From: Niklas Cassel To: Andy Gross , David Brown Cc: Niklas Cassel , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v6 9/9] soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfigs Date: Wed, 29 Aug 2018 09:57:23 +0200 Message-Id: <20180829075724.9095-10-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180829075724.9095-1-niklas.cassel@linaro.org> References: <20180829075724.9095-1-niklas.cassel@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Since commit cab673583d96 ("soc: Unconditionally include qcom Makefile"), we unconditionally include the soc/qcom/Makefile. This opens up the possibility to compile test the code even when building for other architectures. Allow COMPILE_TEST for all qcom SoC Kconfigs, except for two Kconfigs that depend on QCOM_SCM, since that triggers lots of build errors in qcom_scm. Signed-off-by: Niklas Cassel Reviewed-by: Vivek Gautam Reviewed-by: Vinod Koul --- drivers/soc/qcom/Kconfig | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) -- 2.17.1 diff --git a/drivers/soc/qcom/Kconfig b/drivers/soc/qcom/Kconfig index cf4ece232897..684cb51694d1 100644 --- a/drivers/soc/qcom/Kconfig +++ b/drivers/soc/qcom/Kconfig @@ -33,7 +33,7 @@ config QCOM_GLINK_SSR config QCOM_GSBI tristate "QCOM General Serial Bus Interface" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST select MFD_SYSCON help Say y here to enable GSBI support. The GSBI provides control @@ -42,7 +42,7 @@ config QCOM_GSBI config QCOM_LLCC tristate "Qualcomm Technologies, Inc. LLCC driver" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST help Qualcomm Technologies, Inc. platform specific Last Level Cache Controller(LLCC) driver. This provides interfaces @@ -73,7 +73,8 @@ config QCOM_PM config QCOM_QMI_HELPERS tristate - depends on ARCH_QCOM && NET + depends on ARCH_QCOM || COMPILE_TEST + depends on NET help Helper library for handling QMI encoded messages. QMI encoded messages are used in communication between the majority of QRTR @@ -104,7 +105,7 @@ config QCOM_RPMH config QCOM_SMEM tristate "Qualcomm Shared Memory Manager (SMEM)" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on HWSPINLOCK help Say y here to enable support for the Qualcomm Shared Memory Manager. @@ -113,7 +114,7 @@ config QCOM_SMEM config QCOM_SMD_RPM tristate "Qualcomm Resource Power Manager (RPM) over SMD" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on RPMSG help If you say yes to this option, support will be included for the @@ -150,7 +151,7 @@ config QCOM_SMSM config QCOM_WCNSS_CTRL tristate "Qualcomm WCNSS control driver" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on RPMSG help Client driver for the WCNSS_CTRL SMD channel, used to download nv @@ -158,7 +159,7 @@ config QCOM_WCNSS_CTRL config QCOM_APR tristate "Qualcomm APR Bus (Asynchronous Packet Router)" - depends on ARCH_QCOM + depends on ARCH_QCOM || COMPILE_TEST depends on RPMSG help Enable APR IPC protocol support between