From patchwork Mon Aug 27 11:36:00 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 145176 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4079078ljw; Mon, 27 Aug 2018 04:36:40 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZlG4hHdTs4Xucgpz6aIpvGkK1Ler+TAtlxU7TFdUiS7xAjbK996J7dv1nzCL/ZfVtxtliw X-Received: by 2002:a63:ec14:: with SMTP id j20-v6mr11928658pgh.28.1535369800277; Mon, 27 Aug 2018 04:36:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535369800; cv=none; d=google.com; s=arc-20160816; b=KfLseL9FSHgz4n64FDKBmWHM8bR733oB5fy9FyQs45YptsFsp3fg4EI1iJm+YlN+1e bxzu4Pddh1JfnCdKOYQh1/wmJqHVGLtH5sja5cVbLawEeT1hY/h6tb+m13EcL8hVlkSD jeUcZhf1AD6mbn8ebzFuS43/1ODp+jxYcvhfysWLV7jd00BuNCxDueuxVNyENcGU8d1j s1pWiC1ayfogv7Q+bVu8NY/KhRoqVduhMR3kbeb/BXaLHC8yKwcIuZy9iBelo/ZCoP0q 09WJNGPAxcKPgk34vbMn/GGOtEsqY4yCUNlsj1o5JJf+PkSqfefTbJBQZaUyXDvNOh65 pQKg== 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=H6wNllV0RlhIfhvalzIfD3AMZTaORdAb57jmN9nm842kK7Bl7Lhqi6FCdNEckQcB6u 8kI5UVCfJbOqPsOWBtrX0YuBEQTG//wtoEyGOd7kOfO/biu10Rm07serXol7CbHNfKck 8M1oj+PKwPVo8YX34mDIOT9UVOl/0qSV/KcPurTwzSPMvd8WS8B4TrHU3Qg3KvgPSOY2 dm4uepsEqfI81tzBsTnJwCbawxoLwFi9jvEh58QM+p4WrQyb0aHv/gRWDKOrbHcLkFj3 PVlBuFuxwso1+7GjKd/gj9R/uLZJExXe0eXa4AEKmvw3gRWScNncmawp0ehg4gebKOlN APHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MifOT8bj; 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 t10-v6si14289529pge.624.2018.08.27.04.36.39; Mon, 27 Aug 2018 04:36:40 -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=MifOT8bj; 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 S1727385AbeH0PWu (ORCPT + 32 others); Mon, 27 Aug 2018 11:22:50 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:40459 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727315AbeH0PWt (ORCPT ); Mon, 27 Aug 2018 11:22:49 -0400 Received: by mail-lf1-f68.google.com with SMTP id x26-v6so9591470lfi.7 for ; Mon, 27 Aug 2018 04:36: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=MifOT8bjJVGHMLIUsZ1CADkrB4uJ2vMd+2CrgouN/Mvl8WfWJwKwnpnYCUSTQnkgr3 W4j3JML46U0p28u5KO2N4kasQavEAK6svfjYsZthRUmloaf11uAFi5fRrgeB5J/UwRBQ aXdyJ/GdSMve4GUVmRhDUJMwh39+/HvaFKq1Y= 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=PMJ+AAYrCjYOsKWsNjOfnB30I3/zBCMFwD544r8nwusuGYg/r7ArSm6uKim1qiVJ9D sJfSn2U7FWsahi+iW1qVq/bihiZV5p9Hqk0h2F6uXKR4PRz0TrnCF9NFkBSfYgKosbA/ bptqWvOi9Nn0jQbqQJtfl+zufzpioU8CI2RrHFM/AnUSrrMAKuhA2MS9DLFWcSj//Pz9 nwPlXyBCqy7U8sg0jj1nugS4I9efeiAKLehJnbkqU/6IIFh9LcFPaNHiYyF8ghZnSLoA 7uBaMV/hwIb/yV/WHHSH7HgvAZIohvs4ns3ggGZeZWtaQsoxuSJAF5Ti2YLn6SW3wQor kKyw== X-Gm-Message-State: APzg51CWvM9cPe5wgrLXBj0eWmRmxk+YQk4CMrJY14I8rxkLGAgri/VU gWj1j06NtcYftmcNm5HAso81qZh+ETs= X-Received: by 2002:a19:8f10:: with SMTP id r16-v6mr8627064lfd.1.1535369789828; Mon, 27 Aug 2018 04:36:29 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id z15-v6sm2737503lji.58.2018.08.27.04.36.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 04:36: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 v5 2/6] soc: qcom: llcc-slice: Add missing include of sizes.h Date: Mon, 27 Aug 2018 13:36:00 +0200 Message-Id: <20180827113605.9594-3-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180827113605.9594-1-niklas.cassel@linaro.org> References: <20180827113605.9594-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 Mon Aug 27 11:36:03 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 145179 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4079272ljw; Mon, 27 Aug 2018 04:36:54 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaQoFHv4YAK6FYbEJ6G/SEeAK/tCsHGi5EQTH5mV7QdQzBT65T6Q+bTkddvYpHVY0rikGRW X-Received: by 2002:a62:5a01:: with SMTP id o1-v6mr14239319pfb.0.1535369814036; Mon, 27 Aug 2018 04:36:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535369814; cv=none; d=google.com; s=arc-20160816; b=or4GxGK52W7Md5tntndhPs1tRHRLfu0nK4P1icijX0vQDeCqEl/fqcAfvLsXKI60rg FRp+6EAr8C0rO+Z8LsXbcyTEDwceV4HiOlgRLNrHIgq5jO225bnRwangR3doCdXxCOvy jpT3ayOzBtP3uMMQEAr96JIwkSf7MGFwMfqxPrQYlnuiDS1H6GyYj7fhpm8s05+Cj1SI Q/NTFWTlUSdD6snC7ZgYcSMVRz1WEP6KtMCXrojyuaeoZBlEqLLh3YYU/geqt2XEZphA mw9VqiG2hsBzboyPM6JOOd7NtMaVQzMRscFgrjptJDeR4HSot8j+ZJKXl7S+eaJeTyU0 cQXg== 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=5y8f1A2LGSv4rWnyluaZwk3cmZztXT6bBDJJy++sGPI=; b=O2mLLGx5jP2fZw9M3p0xMuz+EFVUo5tg9DHFvOzF2PZOpH4umRW346kKTxvXu1IqWw gIix1sgMhlO5pAI2kNv/RcbZ3CAOfZmHjhjPBdUDT7zJt4ZEjOQGpir0yaprBBQGwAVS Q5ak2P3W1GxFqPzvRUSfabx0oI6IGAeo/IYhHI1f4La6a3VYCa5gkK20s/p6X+SorsI2 AmZ7QEMdYWXnj7oOUHRJkouwuJtC33vxCY6egOR7+St7bIKWokWUkHgyX+aFloyQUxbB IjJspWqim/C9jVS7KEOZ/zxA6KmZn7+vQgdHwmxJkuLes9QXiGBTDMLRCfLqSbvNmgQY Qoxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=VrBnXDAW; 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 e37-v6si15034431plb.313.2018.08.27.04.36.53; Mon, 27 Aug 2018 04:36:54 -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=VrBnXDAW; 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 S1727514AbeH0PXI (ORCPT + 32 others); Mon, 27 Aug 2018 11:23:08 -0400 Received: from mail-lf1-f67.google.com ([209.85.167.67]:37529 "EHLO mail-lf1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726894AbeH0PXI (ORCPT ); Mon, 27 Aug 2018 11:23:08 -0400 Received: by mail-lf1-f67.google.com with SMTP id j8-v6so11669362lfb.4 for ; Mon, 27 Aug 2018 04:36: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=5y8f1A2LGSv4rWnyluaZwk3cmZztXT6bBDJJy++sGPI=; b=VrBnXDAWgLJ5x+JAZKARR1QWt/kO7N9zrOQs36lDWm3/6C+PozN+cMMY4QnAbj5rQQ hr8HGeU57oK3rhYQB/mrLZKY8a34P/5PSgDTmEigH5nyZuKOG0UgN9LUKotbGN2iN1mq 9TlPwUc1HEB5DJ35+DgznO1vML0nlUdWScGUI= 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=5y8f1A2LGSv4rWnyluaZwk3cmZztXT6bBDJJy++sGPI=; b=NBF7+rXj3RRGhFau2ezuOQoLGLx5Vkt46Z365v7KKbZrz2F8R1Shcnp29OTCze2M95 XlbSEkvfKOPM9XVfe6i0g0kxkDV4SVM5JRIIen3iTdxkvi2MC0UwwYWNfPk8vf/yv0hQ B6sS6esvpJJSHxMHqbdv3Z0d7TKUQLsLaE1UdtXTb/p6g84EPpSPNMHdXaQj0HucpYJR WE47e81hO4346GsK0Xy30+aETbgTmxirnCr7QCaUizAmaXAdvQtPy/i/ZpcIgsrwdwNs iMXKz2U99EkQ4kbcltgN8o+wDqRQLTKdr8wlblqjg+5j3cjDvy2lyw6+92GqyJGncujH ZSSg== X-Gm-Message-State: APzg51BZeBTiWdeZ8ERy5fy6gwUBkU0eqQnCV32t1qiK3VUqM622hYsL sPkKlzQj2lX2BjDg+YlxUR46jA== X-Received: by 2002:a19:d98f:: with SMTP id s15-v6mr8563849lfi.103.1535369808470; Mon, 27 Aug 2018 04:36:48 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id j10-v6sm2724498ljb.33.2018.08.27.04.36.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 04:36:48 -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 v5 5/6] soc: qcom: Remove bogus depends on OF from QCOM_SMD_RPM Date: Mon, 27 Aug 2018 13:36:03 +0200 Message-Id: <20180827113605.9594-6-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180827113605.9594-1-niklas.cassel@linaro.org> References: <20180827113605.9594-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 of 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 Mon Aug 27 11:36:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Niklas Cassel X-Patchwork-Id: 145180 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp4079482ljw; Mon, 27 Aug 2018 04:37:09 -0700 (PDT) X-Google-Smtp-Source: ANB0Vdbz83XmIL6pwclyRDXXw22tllgjggSSPaLaSRGrRKq1ZxIVS4F5hTVQuPl4CjkpMknJZPFb X-Received: by 2002:a65:5004:: with SMTP id f4-v6mr11786761pgo.54.1535369828957; Mon, 27 Aug 2018 04:37:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535369828; cv=none; d=google.com; s=arc-20160816; b=klwnDwXfORDz2fTsnicrb30RwWrub9AnRvCGMgySLhZ7S+0UAnyJrk3fwOIoF8jU49 qMSgVIZJ5dRfUCVa7VZkOzQWlQCUlnrXFTppEydxfNRJT/SuPU/qJkZ0HSjew55WZY2H FJKnIXAqLSY0cyR7Wm03vPBEZLX2Oiskvj7BCBDGcyExZ3zbXxL0KfZL0qUrQBwzlq9b Akbpwfo1F9NqHjZMlw3cInBVjZ+7aiIfJwnUOcM/M15aNhWl028sgzQDC21VVk9F/KKc HesEG6raD19xhCmx9Rz4cFQoA80sBLGVu5YAcVvRqEOw/sqES+FacRIPUOEcferhJmW+ jchw== 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=NtiMjRzmWzHX4uiypyPK/pndRvCDAWXrFCNoaRIqQmY=; b=CgU/bRAIjqDJ34qCWcxYfMmeuPzkso8JKLLNhO8M7bilTVIAyj8b0BPH+LYxgN+xRl ExSte8RaiQJAd/Eme5EqDXaNHn3o0nZYY8AOqbLDNiBclnp+TQUeFasOEa6h/BP0shnj EUb5XuH6W8MxhlmTFG0Vr2wyTKT6c35l/GYnUBjwcs77IFi/n2XNzvLT63bcOHp1Lv7L CijUYcOdXPPm7V3DCbdxk2QttexKMM0veLHFeUNdpNKgU126UldEywhkqSMpyJuz0ptZ s6UmmB7quH32ojRtPd3NXgTXdzFI499RFxWYfZdVzRQwJaFThdE/PJqXZRdxOXyvIP84 QNLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Cr+cDwc1; 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 81-v6si10063541pfw.261.2018.08.27.04.37.08; Mon, 27 Aug 2018 04:37: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=Cr+cDwc1; 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 S1727529AbeH0PXY (ORCPT + 32 others); Mon, 27 Aug 2018 11:23:24 -0400 Received: from mail-lj1-f181.google.com ([209.85.208.181]:40108 "EHLO mail-lj1-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726953AbeH0PXX (ORCPT ); Mon, 27 Aug 2018 11:23:23 -0400 Received: by mail-lj1-f181.google.com with SMTP id j19-v6so12056624ljc.7 for ; Mon, 27 Aug 2018 04:37:05 -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=NtiMjRzmWzHX4uiypyPK/pndRvCDAWXrFCNoaRIqQmY=; b=Cr+cDwc11T1tliNfeRdHr9TicTVGlDmvlWSLki2DA6tI0LpTzCi2vNMUHvd07rs2u8 fPLCcQWkUnH8uBpEADVjrV78txbJQiHWL3JQwB2n6QumHNUJ6vlMgVMp+1wUlvb3vfmQ cA4P3sbeXbGdT2FTx6QdKT1gC/oGOBCFoR2Uk= 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=NtiMjRzmWzHX4uiypyPK/pndRvCDAWXrFCNoaRIqQmY=; b=VO2q8BDOfqlQUCkVxaFA6hQYC8c1wdAq8WBA3hzAHCyU4n5c1/2+UGlw/1aeVvkK47 33RXJKbVpGhIVSXcY959RuPRcgDvw5asbtBPxJFo0S2dOFaR7diZzX+zGetkY5xRH96u L8831mZeGe0FxMHWrHmZWtoSg0m5fxTO+NB868srHjw+NBmzgcgmyuSv/GwHeJMS7jIH H3Y5pzi6SfvWEUYu0z0IMaCUzhcV+ogFzM4U8WTyj63XOxLfr0zbrYP06FhiRJZtJK/p VBQnmqkIp1XspBWeFUcDcE+IRN/OqEESgQ3Sk2J5GrNp6P4Fn21OU+frY0TjCl+dAyGp hy4Q== X-Gm-Message-State: APzg51DFiLO8rKgsRO6pxkyTxvphKxg9GrNu/eV1G0SCjsbm9ToPfA8S T83zjFwSoCcShPxOdx1wjlAEoA== X-Received: by 2002:a2e:8957:: with SMTP id b23-v6mr8897187ljk.50.1535369824487; Mon, 27 Aug 2018 04:37:04 -0700 (PDT) Received: from centauri.lan (h-229-118.A785.priv.bahnhof.se. [5.150.229.118]) by smtp.gmail.com with ESMTPSA id u28-v6sm2241961ljd.61.2018.08.27.04.37.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 Aug 2018 04:37:04 -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 v5 6/6] soc: qcom: Allow COMPILE_TEST of qcom SoC Kconfigs Date: Mon, 27 Aug 2018 13:36:04 +0200 Message-Id: <20180827113605.9594-7-niklas.cassel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180827113605.9594-1-niklas.cassel@linaro.org> References: <20180827113605.9594-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 ac657164a136..fd09b95be0ba 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